Fixed problem when compiling with GCC 4.7
This commit is contained in:
parent
937d031ae9
commit
3caf99e454
|
@ -18,7 +18,6 @@
|
|||
*/
|
||||
|
||||
#include "wrapxerces.h"
|
||||
#define XERCES_TMPLSINC
|
||||
|
||||
#include <xercesc/sax2/XMLReaderFactory.hpp>
|
||||
#include <xercesc/sax2/SAX2XMLReader.hpp>
|
||||
|
|
|
@ -19,7 +19,10 @@
|
|||
|
||||
#ifndef WRAP_XERCES
|
||||
#define WRAP_XERCES
|
||||
|
||||
#if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 7 )
|
||||
#define XERCES_TMPLSINC
|
||||
#endif
|
||||
|
||||
#include <wx/wx.h>
|
||||
#include <string>
|
||||
|
|
|
@ -30,9 +30,7 @@
|
|||
#include "catalogresolver.h"
|
||||
|
||||
// Xerces-C req'd for Schema parsing
|
||||
#ifdef __WXMSW__
|
||||
#define XERCES_TMPLSINC
|
||||
#endif
|
||||
#include "wrapxerces.h" // Declaration of toString() and XERCES_TMPLSINC definition
|
||||
|
||||
#include <xercesc/util/NameIdPool.hpp>
|
||||
#include <xercesc/util/PlatformUtils.hpp>
|
||||
|
@ -42,7 +40,6 @@
|
|||
#include <xercesc/validators/schema/SchemaValidator.hpp>
|
||||
#include <xercesc/validators/common/ContentSpecNode.hpp>
|
||||
#include <xercesc/validators/schema/SchemaSymbols.hpp>
|
||||
#include "wrapxerces.h" // Delearation of toString()
|
||||
|
||||
using namespace xercesc;
|
||||
|
||||
|
|
Loading…
Reference in New Issue