Problems using kdatetime.h with msvc

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Tue May 2 17:36:54 BST 2006


Hi,

I get some compile errors when I try to use kdatetime.h (kdatetimetest.cpp).
The problem is the usage of OffsetFromUTC, LocalZone and maybe others as
an enum and a function within the same namespace:

---------------8<-------------
 Error Message
'OffsetFromUTC' : the name of a function parameter cannot be qualified

You cannot use a qualified name as a function parameter.
---------------8<-------------

I think it is not allowed because the compiler can't distinguish between
the enum and the adress for the function.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060502/2c683bf7/attachment.sig>


More information about the kde-core-devel mailing list