Hi,

I get the following error when I try to build the current master branch:

make[5]: Entering directory 
`/home/tma/gnucash/gnucash_cvs/gnucash/src/libqof/qof'
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..  
-I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include   -DG_LOG_DOMAIN=\"qof\"  -xc++ -Werror 
-Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations  -Wno-unused -MT libgnc_qof_la-gnc-date.lo -MD -MP -MF 
.deps/libgnc_qof_la-gnc-date.Tpo -c -o libgnc_qof_la-gnc-date.lo `test -f 'gnc-date.c' || 
echo './'`gnc-date.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/libc -I../../../src 
-pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-DG_LOG_DOMAIN=\"qof\" -xc++ -Werror -Wdeclaration-after-statement -g -O2 -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT 
libgnc_qof_la-gnc-date.lo -MD -MP -MF .deps/libgnc_qof_la-gnc-date.Tpo -c gnc-date.c  
-fPIC -DPIC -o .libs/libgnc_qof_la-gnc-date.o
cc1plus: error: command line option '-Wdeclaration-after-statement' is valid 
for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option '-Wmissing-prototypes' is valid for C/ObjC 
but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[5]: *** [libgnc_qof_la-gnc-date.lo] Fehler 1
make[5]: Leaving directory 
`/home/tma/gnucash/gnucash_cvs/gnucash/src/libqof/qof'

When did we start with C++?

gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]

 Herbert.
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to