- updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build.

This commit is contained in:
Mark Vejvoda
2013-11-19 21:57:28 +00:00
parent fe07998816
commit ab64b9343f
33 changed files with 157 additions and 150 deletions

View File

@@ -232,13 +232,13 @@ public:
void test_invalid_xml_engine_lowerbound() {
xml_engine_parser_type testType = static_cast<xml_engine_parser_type>(XML_XERCES_ENGINE - 1);
if(testType == XML_XERCES_ENGINE - 1) {
if((int)testType == (int)(XML_XERCES_ENGINE - 1)) {
XmlTree xml(testType);
}
}
void test_invalid_xml_engine_upperbound() {
xml_engine_parser_type testType = static_cast<xml_engine_parser_type>(XML_RAPIDXML_ENGINE + 1);
if(testType == XML_RAPIDXML_ENGINE + 1) {
if((int)testType == (int)(XML_RAPIDXML_ENGINE + 1)) {
XmlTree xml(testType);
}
}