Forward declare tinyxml type used in library.h to avoid problems with dynamic linked configuration.
This commit is contained in:
parent
93b8a261a2
commit
6f76dfcb22
|
@ -25,7 +25,6 @@
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "mathlib.h"
|
#include "mathlib.h"
|
||||||
|
|
||||||
#include <tinyxml2.h>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -33,6 +32,9 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
class TokenList;
|
class TokenList;
|
||||||
|
namespace tinyxml2 {
|
||||||
|
class XMLDocument;
|
||||||
|
}
|
||||||
|
|
||||||
/// @addtogroup Core
|
/// @addtogroup Core
|
||||||
/// @{
|
/// @{
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "tokenlist.h"
|
#include "tokenlist.h"
|
||||||
#include "testsuite.h"
|
#include "testsuite.h"
|
||||||
|
#include <tinyxml2.h>
|
||||||
|
|
||||||
class TestLibrary : public TestFixture {
|
class TestLibrary : public TestFixture {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -18,10 +18,11 @@
|
||||||
|
|
||||||
#include "preprocessor.h"
|
#include "preprocessor.h"
|
||||||
#include "tokenize.h"
|
#include "tokenize.h"
|
||||||
|
#include "symboldatabase.h"
|
||||||
#include "checkother.h"
|
#include "checkother.h"
|
||||||
#include "testsuite.h"
|
#include "testsuite.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <symboldatabase.h>
|
#include <tinyxml2.h>
|
||||||
|
|
||||||
extern std::ostringstream errout;
|
extern std::ostringstream errout;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue