mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use internal extern "C" { ... } for C++
- removes warnings compiling swig engine ... [ 10%] Generating swig-engine.cpp .../libgnucash/engine/engine-helpers.h:31: Warning 313: Unrecognized extern type "C++". .../libgnucash/engine/gnc-date.h:83: Warning 313: Unrecognized extern type "C++". .../libgnucash/engine/qofquery.h:90: Warning 302: Identifier 'QofQuery' redefined (ignored), .../libgnucash/engine/gnc-option.hpp:55: Warning 302: previous definition of 'QofQuery'. .../libgnucash/engine/gnc-commodity.h:56: Warning 313: Unrecognized extern type "C++". .../libgnucash/engine/gncBusiness.h:40: Warning 313: Unrecognized extern type "C++". .../libgnucash/engine/gncEntry.h:37: Warning 313: Unrecognized extern type "C++".
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
********************************************************************/
|
||||
#include <glib.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <string.h>
|
||||
#include <unittest-support.h>
|
||||
@@ -42,8 +40,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
static const gchar *suitename = "/engine/Split";
|
||||
void test_suite_split ( void );
|
||||
}
|
||||
extern "C" void test_suite_split ( void );
|
||||
|
||||
#include <qofinstance-p.h>
|
||||
#include <kvp-frame.hpp>
|
||||
|
||||
Reference in New Issue
Block a user