Re: tzset et al
"Gerrit P. Haase" <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Organization | Esse keine toten Tiere |
| Message-ID | <[email protected]> |
Gerrit wrote: > SableVM specific: > The actual problem is that I get errors when compiling sablevm classpath > because of an undeclard identifier, time.h and sys/time.h are included > and tzname and timezone should be defined, however I'm getting an error. > Now I see that there is -ansi at the commandline and that is the > problem, tzname et al is guarded with !__STRICT_ANSI__ in time.h and > therefore it is not defined. > Is tzname and timezone not ANSI? Why is it used in sablevm then? Or is > the Cygwin time.h wrong about this? And one more, I needed to cast timezone to an int to get it compiled on Cygwin, here is defined timezone as time_t. Gerrit -- =^..^= http://nyckelpiga.de/donate.html