compiling on fc5

Michael D. Wise micwise at bellsouth.net
Sat Apr 8 18:36:19 EDT 2006


This is just for informational purposes.  On FC5 I have to configure
r13756 with disable-error-on-warning in order to compile it.  The error
I get is:
        
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../.. -I../../..
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../../../lib/libc -g -O2 -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Werror -Wdeclaration-after-statement
-Wno-pointer-sign -D_FORTIFY_SOURCE=2 -MT qofbackend.lo -MD -MP
-MF .deps/qofbackend.Tpo -c qofbackend.c  -fPIC -DPIC
-o .libs/qofbackend.o
cc1: warnings being treated as errors
qofbackend.c: In function 'qof_backend_prepare_option':
qofbackend.c:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[5]: *** [qofbackend.lo] Error 1
make[5]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/lib/libqof/qof'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/lib/libqof/qof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/lib/libqof'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/michael.wise/workspace/gnucash/trunk'
make: *** [all] Error 2
        
I'm using gcc-4.1.0-3.
        
        
Michael
        



More information about the gnucash-devel mailing list