thegooglecodearchive / guiqwt

Automatically exported from code.google.com/p/guiqwt
Other
0 stars 0 forks source link

fix FTBFS on kfreebsd due to Werror #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I rebuilt guiqwt on the debian infrastructure, and now I got a failed to 
build on kfreebsd arch.

this is due to a change in the compilation toolchain

/usr/include/sys/syslimits.h:38:2: error: #warning "No user-serviceable parts 
inside." [-Werror=cpp]
cc1plus: all warnings being treated as errors
error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-fPIC -I/usr/lib/pymodules/python2.6/numpy/core/include 
-I/usr/include/python2.6 -c src/pcolor.cpp -o 
build/temp.gnukfreebsd-8.1-1-686-smp-i686-2.6/src/pcolor.o -Wall -Werror" 
failed with exit status 1In file included from 
/usr/include/i386-kfreebsd-gnu/bits/local_lim.h:20:0,

                 from /usr/include/i386-kfreebsd-gnu/bits/posix1_lim.h:157,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-kfreebsd-gnu/4.6/include-fixed/limits.h:169,
                 from /usr/lib/gcc/i486-kfreebsd-gnu/4.6/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/i486-kfreebsd-gnu/4.6/include-fixed/limits.h:34,
                 from /usr/include/python2.6/Python.h:19,
                 from src/pcolor.cpp:8:
/usr/include/sys/syslimits.h:38:2: error: #warning "No user-serviceable parts 
inside." [-Werror=cpp]
cc1plus: all warnings being treated as errors
dh_auto_build: python2.6 setup.py build --force returned exit code 1

It is better to avoir using Werror as it can cause some troubles on a few 
architectures for no good reasons.

thanks

Frederic

Original issue reported on code.google.com by pi...@synchrotron-soleil.fr on 26 Feb 2012 at 1:57

Attachments:

GoogleCodeExporter commented 9 years ago
still present in 2.2.0 :)

Original comment by pi...@synchrotron-soleil.fr on 9 Sep 2012 at 8:41

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 4982fea3ac1f.

Original comment by pierre.raybaut on 7 Nov 2012 at 4:22