Forward declare tinyxml type used in library.h to avoid problems with dynamic linked configuration.

This commit is contained in:
PKEuS 2013-12-31 12:30:17 +01:00
parent 93b8a261a2
commit 6f76dfcb22
3 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,6 @@
#include "path.h"
#include "mathlib.h"
#include <tinyxml2.h>
#include <map>
#include <set>
#include <string>
@ -33,6 +32,9 @@
#include <algorithm>
class TokenList;
namespace tinyxml2 {
class XMLDocument;
}
/// @addtogroup Core
/// @{

View File

@ -20,6 +20,7 @@
#include "token.h"
#include "tokenlist.h"
#include "testsuite.h"
#include <tinyxml2.h>
class TestLibrary : public TestFixture {
public:

View File

@ -18,10 +18,11 @@
#include "preprocessor.h"
#include "tokenize.h"
#include "symboldatabase.h"
#include "checkother.h"
#include "testsuite.h"
#include <sstream>
#include <symboldatabase.h>
#include <tinyxml2.h>
extern std::ostringstream errout;