mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-02 20:30:45 -06:00
Fix build with glib2 2.67.x.
glib headers should not be included with 'extern "C"'.
This commit is contained in:
1 parent
3c9d2a2842
commit
c0f2c3ae25
75 files changed
+149
-126
No files matched your search
@@ -31,12 +31,12 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-engine.h"
|
||||
|
||||
#include "gncAddress.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
|
||||
@@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
|
||||
#include "gnc-engine.h"
|
||||
@@ -42,6 +40,8 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
||||
@@ -31,7 +31,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -40,6 +39,8 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
||||
@@ -31,13 +31,13 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gnc-commodity.h"
|
||||
#include "gncEmployeeP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
||||
@@ -31,7 +31,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -40,6 +39,7 @@ extern "C"
|
||||
#include "gncInvoiceP.h"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
||||
@@ -31,12 +31,12 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gncJobP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
||||
@@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "gnc-pricedb.h"
|
||||
|
||||
@@ -38,6 +36,7 @@ extern "C"
|
||||
#include "splint-defs.h"
|
||||
#endif
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
||||
@@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "Recurrence.h"
|
||||
@@ -39,6 +37,7 @@ extern "C"
|
||||
#include "splint-defs.h"
|
||||
#endif
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
||||
@@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "SchedXaction.h"
|
||||
#include "SX-book.h"
|
||||
@@ -41,6 +39,8 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -41,6 +39,8 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
||||
Reference in new issue
Block a user