On a Mac (10.9.2, Xcode 5.0.2) I get a slightly different error: Making all in qof Making all in . /bin/sh ../../../libtool --tag=CC --mode=compile /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/libc -I../../../src -D_REENTRANT -I/Users/jaearick/gnucash-project/gnucash-git/include/glib-2.0 -I/Users/jaearick/gnucash-project/gnucash-git/lib/glib-2.0/include -DG_LOG_DOMAIN=\"qof\" -I/Users/jaearick/gnucash-project/gnucash-git/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -xc++ -Werror -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -arch i386 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -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: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/libc -I../../../src -D_REENTRANT -I/Users/jaearick/gnucash-project/gnucash-git/include/glib-2.0 -I/Users/jaearick/gnucash-project/gnucash-git/lib/glib-2.0/include -DG_LOG_DOMAIN=\"qof\" -I/Users/jaearick/gnucash-project/gnucash-git/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -xc++ -Werror -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -arch i386 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -Wno-unused -MT libgnc_qof_la-gnc-date.lo -MD -MP -MF .deps/libgnc_qof_la-gnc-date.Tpo -c gnc-date.c -fno-common -DPIC -o .libs/libgnc_qof_la-gnc-date.o mv -f .deps/libgnc_qof_la-gnc-date.Tpo .deps/libgnc_qof_la-gnc-date.Plo make[5]: *** No rule to make target `gnc-numeric.c', needed by `gnc-numeric.lo'. Stop.
----------------------------------- Jeff A. Earickson, Ph.D Senior Server System Administrator Colby College, 4214 Mayflower Hill, Waterville ME, 04901-8842 207-859-4214 (fax 207-859-4186) Eastern Time Zone, USA ----------------------------------- On Sat, Apr 26, 2014 at 6:25 AM, Herbert Thoma < herbert.th...@iis.fraunhofer.de> wrote: > Am 26.04.2014 11:13, schrieb Geert Janssens: > >> On Saturday 26 April 2014 11:07:50 Herbert Thoma 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 >>> >> <...> > >> [-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++? >>> >>> Yesterday. >> >> John committed the first few patches to compile libqof as a c++ library. >> >> But apparently there's an issue with gcc and these patches. See also bug >> https://bugzilla.gnome.org/show_bug.cgi?id=729001 >> > > Ah I see. > > BTW: if I supply --disable-error-on-warning to configure, it does not get > much > further: > > kvp_frame.c: In function 'KvpFrame* get_trailer_make(KvpFrame*, const > char*, char**)': > kvp_frame.c:329:38: error: invalid conversion from 'const char*' to > 'char*' [-fpermissive] > kvp_frame.c: In function 'const KvpFrame* get_trailer_or_null(const > KvpFrame*, const char*, char**)': > kvp_frame.c:371:38: error: invalid conversion from 'const char*' to > 'char*' [-fpermissive] > make[5]: *** [libgnc_qof_la-kvp_frame.lo] Error 1 > > C++ is much stricter with types than plain C ... > > Herbert. > > Geert >> >> _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel