| Summary: | compilation error in kledtest.cpp | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | aaron667 |
| Component: | general | Assignee: | Stephan Kulow <coolo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andreas, dominik.stadler, greg_g, Sascha-bugs.kde.org |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch for kledtest.cpp | ||
|
Description
aaron667
2005-01-04 09:23:41 UTC
This happens if you run "make test", look at http://bugs.gentoo.org/show_bug.cgi?id=74058 for more information. wow.. now we have a cyclic redirection... anyway.. I'm one of the bug reporters on gentoo-bugs... so I am aware the bug has been reported there... still it remains a KDE bug if "make test" fails... the redirection in #1 was not to you, but a pointer to the developers ;) Otherwise we would have closed the bug as INVALID Created attachment 9952 [details]
Patch for kledtest.cpp
This patch makes 'make check' continue past compilation of kledtest.cpp
Is it the right way to go?
I think it would be even better if the declaration of the enums looked something like this:
enum Shape { Rectangular, Circular, MaxShape };
and
enum Look { Flat, Raised, Sunken, MaxLook };
And making kledtest.cpp for loops look like this:
for(shape=(KLed::Shape)0; shape < KLed::MaxShape; shape=(KLed::Shape)(shape+1))
and
for(look=(KLed::Look)0; look < KLed::MaxLook; look=(KLed::Look)(look+1))
Does it make sense?
(Haven't yet seen any activity when lookin at the source through the kde viewcvs) I realize that this is a low-prioritized bug... but its still annoying to not be able to do 'make check' without first patching the source by hand. Is there some way I can help out... or is the supplied patch enough? seems to be fixed now in trunk and in the 3.4 branch. |