tzset claimed to be ANSI not POSIX in fix-header.c

Jonathan Larmour jifl@eCosCentric.com
Thu Mar 11 06:00:00 GMT 2004


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.

Thanks!

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
 >>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tzset.posix.fixh.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040311/1d970ac6/attachment.txt>


More information about the Gcc-patches mailing list