Re: getdate on mingw: tzname problems

2008-01-16 Thread Simon Josefsson
Paul Eggert <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >> Is there any platform where tzname isn't defined in time.h? > > If memory serves, the C Standard doesn't allow to define > tzname. Both Solaris and glibc define tzname conditionally, and can > be compiled

Re: getdate on mingw: tzname problems

2008-01-15 Thread Paul Eggert
Simon Josefsson <[EMAIL PROTECTED]> writes: > Is there any platform where tzname isn't defined in time.h? If memory serves, the C Standard doesn't allow to define tzname. Both Solaris and glibc define tzname conditionally, and can be compiled in pedantic mode. I don't know whether it comes up

getdate on mingw: tzname problems

2008-01-15 Thread Simon Josefsson
Compiling getdate on mingw32: getdate.y: In function 'get_date': getdate.y:1325: warning: 'tzname' redeclared without dllimport attribute: previous dllimport ignored Linking fails: Info: resolving _tzname by linking to __imp__tzname (auto-import) Creating library file: .libs/libshishi.dll.a fu0