tags 298480 + pending thanks On Mon, 2005-03-07 at 22:08 +0100, Andreas Jochens wrote: > When building 'cvsd' on amd64 with gcc-4.0, > I get the following error: > > make[2]: Entering directory `/cvsd-1.0.5' > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -pedantic -Wall -Wshadow > -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes > -Wmissing-prototypes -Wnested-externs -Waggregate-return > -Wmissing-declarations -Wformat-literal -c cvsd.c > cc1: error: unrecognized command line option "-Wformat-literal" > make[2]: *** [cvsd.o] Error 1 > make[2]: Leaving directory `/cvsd-1.0.5' > > With the attached patch 'cvsd' can be compiled > on amd64 using gcc-4.0.
The -Wformat-literal option was recently added to add some more compiler warnings. This option does not seem to be available in a lot of versions of gcc so it is removed now. -- -- arthur - [EMAIL PROTECTED] - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part

