This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: tzset claimed to be ANSI not POSIX in fix-header.c


Jonathan Larmour <jifl@eCosCentric.com> writes:

> Jonathan Larmour wrote:
>> gcc/fix-header.c incorrectly defines tzset() to be an ANSI symbol
>> when in fact it is POSIX.1. I am developing on a system where a
>> system header gets "fixed" to define tzset(), when tzset() doesn't
>> in fact exist in this system. The attached patch, against GCC 3.3.2
>> fixes this (I have bootstrap problems with GCC 3.3.3 on target
>> arm-elf). As well as the GCC 3.3 branch it should also be applied to
>> the trunk.
>> 2004-03-10  Jonathan Larmour  <jifl@eCosCentric.com>
>>     * fix-header.c: tzset() is POSIX not ANSI.
>
> Sorry for not noticing, but tzset isn't the only function in this
> category. putenv() and kill() are also POSIX, not ANSI. Therefore
> please instead use the attached page and ChangeLog entry. Thanks!
>
>
> 2004-03-10  Jonathan Larmour  <jifl@eCosCentric.com>
>
> 	* fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI.

Ok.

zw


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