Couple warning fixes (#139)

* Use -Wno-tautological-constant-out-of-range-compare for Clang (these warnings come from the sanity checks in generated IfcXXX files).

* Remove unused variable and typedefs + suppress uint->bool conversion warnings (MSVC) + add note about Clang in README

* MSVC uint->bool convesion warning fixes when IFC4 is defined
This commit is contained in:
Ali Kämäräinen
2016-10-09 13:39:47 +03:00
committed by Thomas Krijnen
parent 8a92e1a766
commit a171b2b9b0
5 changed files with 12 additions and 15 deletions
-6
View File
@@ -52,12 +52,6 @@
#include <vld.h>
#endif
// Some convenience typedefs and definitions.
typedef std::string S;
typedef IfcParse::IfcGlobalId guid;
typedef std::pair<double, double> XY;
boost::none_t const null = boost::none;
// The creation of Nurbs-surface for the IfcSite mesh, to be implemented lateron
void createGroundShape(TopoDS_Shape& shape);