bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimeZone.m problem with current CVS Code


From: Sheldon Gill
Subject: Re: NSTimeZone.m problem with current CVS Code
Date: Tue, 2 Mar 2004 08:34:40 +0800
User-agent: KMail/1.6.50

> It appears the latest NSTimeZone.m patch makes CVS head version
> uncompilable...
>
> NSTimeZone.m calls in line 1813:
>   dow = dayOfCommonEra(when);
>
> dayOfCommonEra is declared static in NSCalenderDate so it cannot be used.
>
> removing the static declaration helps it compiling, but maybe/imho -
> from a design pov -
> this should be solved more nicely... Or is this still work in progress?

Short answer:  work in progress.

There are a couple of issues with the code at the moment but it is functional. 
There hasn't been much testing of it, though.

The changes I've made subsequently are:
1)  Updates depend on additional files which don't exist in CVS yet...
2)  Conditional compilation for purely Win32 environment

For the moment, you have two choices

a)  Make dayOfCommonEra() not 'static' so it can be called.
b)  Add the implementation of dayOfCommonEra() into NSTimeZone.m

I favour (a) for now.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]