Problems using kdatetime.h with msvc

David Jarvie lists at astrojar.org.uk
Wed May 3 00:01:03 BST 2006


On Tuesday 02 May 2006 22:05, Thiago Macieira wrote:
> David Jarvie wrote:
> >It is named specifically to be the same as the enum member's name. There
> > is another static function Spec::LocalZone() which is also named
> > identically to another of the enum's members, and there are two static
> > const member values in Spec which are named the same as another two
> > members of the enum. The naming is to make clear the close relationship
> > between the enum values and the Spec members - each of these Spec
> > members returns an Spec instance of the appropriate type.
>
> The relationship is clear even without the exact same name.
>
> And since MSVC is choking on the code, can you take a look?

It obviously would be possible to rename things, although to have to do so 
because of a faulty compiler is not a very appealing reason.

> Windows people: where does the error occur?

Why does only one method produce an error?

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/linux/kalarm.html




More information about the kde-core-devel mailing list