You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSYS build scripts and instructions (IfcOpenShell#99) and warning fixes
* Preliminary MSYS2 + MinGW build scripts and instructions.
* CMakeLists.txt: MinGW tweaks, enforce C++03, suppress warnings for now.
* Fix some GCC warnings.
* Fix unused parameter warnings coming from Ifc*.h.
* Fix warning regarding unreachable code (++jt) on MSVC.
* Add IfcParse_EXPORT for IfcInvalidTokenException
* Fix potentially uninitialized pointer variables.
* Note about OpenCASCADE cyclic dependencies fix.
* GCC warning fix: don't generate 'current_enum' variable that is only set and not used for anything ever
* Work around -Wmaybe-uninitialized warnings about boost::optional constructs. Also prevent passing of negative values for --bounds.
* Remove unused variable.
* CMakeLists.txt: ENABLE_BUILD_OPTIMIZATIONS for GCC (simply enforce -03)
argument_name_function_body_tail= (" return %s::getArgumentName(i); "%type.supertypes[0]) iflen(type.supertypes) ==1else' throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); '
106
+
argument_name_function_body_tail= (" return %s::getArgumentName(i); "%type.supertypes[0]) iflen(type.supertypes) ==1else' (void)i; throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); '
argument_type_function_body_tail= (" return %s::getArgumentType(i); "%type.supertypes[0]) iflen(type.supertypes) ==1else' throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); '
111
+
argument_type_function_body_tail= (" return %s::getArgumentType(i); "%type.supertypes[0]) iflen(type.supertypes) ==1else' (void)i; throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); '
argument_entity_function_body_tail= (" return %s::getArgumentEntity(i); "%type.supertypes[0]) iflen(type.supertypes) ==1else' throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); '
116
+
argument_entity_function_body_tail= (" return %s::getArgumentEntity(i); "%type.supertypes[0]) iflen(type.supertypes) ==1else' (void)i; throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); '
0 commit comments