Problems using kdatetime.h with msvc

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


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:

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

You cannot use a qualified name as a function parameter.

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the kde-core-devel mailing list