[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#162612: libc6-dev: telling gcc to optimize causes C99 violations, thanks to endian.h



> > likely that somewhere, either _BSD_SOURCE or _GNU_SOURCE is defined.
> 
> Neither is the case.  The source file is twofish.c; you can get it at:
> 
> http://www.macfergus.com/niels/code/TwofishClib-v0.2.zip
> 
> Unzip the archive and compile it like this:
> 
> gcc -c -o twofish.o -O2 -g twofish.c
> 
> contrast with
> 
> gcc -c -o twofish.o -g twofish.c

hopper:~$ gcc-2.95 -c -o twofish.o -O2 -g twofish.c
hopper:~$ gcc-3.2 -c -o twofish.o -O2 -g twofish.c
hopper:~$

I'm not seeing the problem.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/



Reply to: