mirror of
https://github.com/glest/glest-source.git
synced 2025-09-29 17:09:02 +02:00
- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user