On Apr 26, 2014, at 7:36 AM, Mike Alexander <m...@umich.edu> wrote:

> On Apr 26, 2014, at 5:07 AM, Herbert Thoma <herbert.th...@iis.fraunhofer.de> 
> wrote:
>> 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'
> 
> I ran into this last night and have some fixes (which work for me using gcc 
> 4.7 on MacOSX 10.8.5) almost ready to check in. I don't know if they will 
> work for other environments.  In particular I wonder about Windows.
> 

Either go ahead and push it or attach the patch to 
https://bugzilla.gnome.org/show_bug.cgi?id=729001, please?

I can run a windows build and test it; I should have done so yesterday.

Regards,
John Ralls



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

Reply via email to