[GNC-dev] Warnings while building master

Geert Janssens geert.gnucash at kobaltwit.be
Sun Dec 18 08:38:09 EST 2022


Today I rebuilt master from scratch and my eye was caught by the following warning:

[22/513] Generating swig-engine.cpp 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/engine-helpers.h:31: 
Warning 313: Unrecognized extern type "C++". 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/gnc-date.h:83: 
Warning 313: Unrecognized extern type "C++". 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/qofquery.h:90: 
Warning 302: Identifier 'QofQuery' redefined (ignored), 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/gnc-option.hpp:55: 
Warning 302: previous definition of 'QofQuery'. 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/gnc-commodity.h:56: 
Warning 313: Unrecognized extern type "C++". 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/gncBusiness.h:40: 
Warning 313: Unrecognized extern type "C++". 
/home/janssege/Development/gnucash/master/src/libgnucash/engine/gncEntry.h:37: 
Warning 313: Unrecognized extern type "C++".

Would this be a potential issue ? The warnings are generated by swig while parsing our 
headers. Normal compilation of objects that include these files works fine.

I don't see anything misbehaving in the built executable either so perhaps it's a non-issue.

Regards,

Geert


More information about the gnucash-devel mailing list