Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3EFDBA3D.3F35406B@phekda.freeserve.co.uk> Date: Sat, 28 Jun 2003 16:54:37 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: LIBC C files patches to build with GCC 3.3 (non math files) References: <002201c337b1$b3fdce40$0100a8c0 AT acp42g> <3EFD7884 DOT EE47DD65 AT phekda DOT freeserve DOT co DOT uk> <001601c33d70$8431e600$0100a8c0 AT acp42g> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Andrew Cottrell wrote: [snip] > > Do you have a patch for strtof too (src/libc/c99/stdlib/strtof.c)? > No. The patch to get GCC 3.3 to build I thought was big enough and I didn't > want to include anything else in it. [snip] strtof needs some "type-punning" fixes too. It does not compile for me with gcc 3.3. Well, not the pre-release of gcc I am using. strtof.c has no modifications - it's vanilla CVS. bash-2.04$ make gcc ... -c strtof.c strtof.c: In function `strtof': strtof.c:78: warning: dereferencing type-punned pointer will break strict-aliasing rules strtof.c:102: warning: dereferencing type-punned pointer will break strict-aliasing rules strtof.c:113: warning: dereferencing type-punned pointer will break strict-aliasing rules make.exe: *** [strtof.o] Error 1 Thanks, bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]