Version: SVN (using Devel) OS: other The actual issue is in kdecore/date/kcalendarera_p.h: In file included from /root/Dashboards/kdelibs/src dir/kdecore/date/kcalendarera.cpp:20: /root/Dashboards/kdelibs/src dir/kdecore/date/kcalendarera_p.h:54: error: 'DefaultComponentFormat' is not a member of 'KLocale' The line in question reads: QString name(KLocale::DateTimeComponentFormat format = KLocale::DefaultComponentFormat) const; But instead of KLocale::DefaultComponentFormat it should be KLocale::DateTimeComponentFormat::DefaultComponentFormat Regards, Alex Reproducible: Always
What platform/compiler are you using (I'm guessing BSD from your email?), as I've just done a completely clean rebuild using Linux/GCC and had no problems. The same style KLocale::EnumValue construct is used everywhere throughout KDE (including for this enum value as well) so there's likely to be a deeper reason than that? About the only difference I can see is DefaultComponentFormat has a value of -1?
I'm using gcc4.4 on DragonFly BSD. I haven't done a build since the end of october, but there was no problem back then. From looking at the code I simply don't see where there is a DefaultComponenetFormat in the KLocale namespace, only place where I see it is KLocale::DateTimeComponentFormat (see klocale*.h).
It's defined in klocale.h, see http://lxr.kde.org/source/KDE/kdelibs/kdecore/localization/klocale.h#901 and was introduced in http://websvn.kde.org/?view=revision&revision=1193650 on Nov 6. The enum is defined in exactly the same way as all other KLocale enums are defined, and we use the KLocale namespace when referring to all them, so I can't see why it would be requiring the extra namespace for just this enum and just this use of the value when several other classes like KLocalizedDate use the same enum and value with it appears no issues on your build?
Actually this seems to have happened due to some older files from a previous bulk build being installed and used. I use the following C/CXXFLAGS: export CFLAGS='-I/usr/pkg/inlcude -I/opt/kde4/include -I/usr/local/include -march=i486' export CXXFLAGS='-I/usr/pkg/include -I/opt/kde4/include -I/usr/local/include -march=i486' It was seemingly using the klocale.h in /opt/kde4/include instead of its build local klocale.h. I wonder whether this is an actual bug, or just "this is how things are".
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!