This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: improper guards on tzname/tzset


On 2016-02-11 19:35, Joel Sherrill wrote:
I think there are improper standards guards around tzset()
and tzname. They appear to be turned off for -std=c99 and
setting _XOPEN_SOURCE has no impact.

glibc has them off for -stdc=c99 along and on when adding
-D_XOPEN_SOURCE=700.

Based on the change history on the following page, I think
they should be turned on anytime _POSIX_C_SOURCE is set.

I'm working on an overhaul of the feature test macros and these should be covered thereby.

--
Yaakov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]