[PPL-devel] Problem in ppl_lpsol.c

Michael Tautschnig mt at debian.org
Thu Oct 23 00:07:34 CEST 2008


> thanks for the report.   Can you tell us which are the compile flags you
> are talking about?  This way we can make sure no other problem like that
> one remain or are introduced by mistake.
> Cheers,
>

Oops, sorry, I should have attached the log:

make[2]: Entering directory `/root/ppl-0.10~pre35/demos/ppl_lpsol'
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../interfaces/C   -pedantic -std=gnu89 -Werror -g -O2 -frounding-math -Wall -g -O2 -W -Wall -MT ppl_lpsol.o -MD -MP -MF .deps/ppl_lpsol.Tpo -c -o ppl_lpsol.o ppl_lpsol.c
cc1: warnings being treated as errors
ppl_lpsol.c: In function 'process_options':
ppl_lpsol.c:271: error: format not a string literal and no format arguments
ppl_lpsol.c:272: error: format not a string literal and no format arguments
ppl_lpsol.c:273: error: format not a string literal and no format arguments
make[2]: *** [ppl_lpsol.o] Error 1

This happens when using Ubuntu's gcc (Ubuntu 4.3.2-1ubuntu10) 4.3.2. For some
reason, it doesn't happen in Debian, probably Ubuntu people added some more
default warnings to -Wall (see also https://wiki.ubuntu.com/CompilerFlags).

Thanks for your prompt responses,
Michael



More information about the PPL-devel mailing list