diff --git a/src/ifcparse/IfcSIPrefix.cpp b/src/ifcparse/IfcSIPrefix.cpp index 7270c221f9..1d289ffb61 100644 --- a/src/ifcparse/IfcSIPrefix.cpp +++ b/src/ifcparse/IfcSIPrefix.cpp @@ -34,7 +34,7 @@ double IfcParse::IfcSIPrefixToValue(const std::string& v) { else if ( v == "MEGA" ) return 1.e6; else if ( v == "KILO" ) return 1.e3; else if ( v == "HECTO" ) return 1.e2; - else if ( v == "DECA" ) return 1.; + else if ( v == "DECA" ) return 1.e1; else if ( v == "DECI" ) return 1.e-1; else if ( v == "CENTI" ) return 1.e-2; else if ( v == "MILLI" ) return 1.e-3; diff --git a/win/build-deps.cmd b/win/build-deps.cmd index 6bb6a4e4c1..36787ae923 100644 --- a/win/build-deps.cmd +++ b/win/build-deps.cmd @@ -209,7 +209,7 @@ cd "%DEPENDENCY_DIR%" call cecho.cmd 0 13 "Building %DEPENDENCY_NAME% %BOOST_LIBS% Please be patient, this will take a while." IF EXIST "%DEPENDENCY_DIR%\bin.v2\project-cache.jam" del "%DEPS_DIR%\boost\bin.v2\project-cache.jam" -call .\b2 toolset=%BOOST_TOOLSET% runtime-link=static address-model=%ARCH_BITS% -j%IFCOS_NUM_BUILD_PROCS% ^ +call .\b2 toolset=%BOOST_TOOLSET% runtime-link=static address-model=%ARCH_BITS% --abbreviate-paths -j%IFCOS_NUM_BUILD_PROCS% ^ variant=%DEBUG_OR_RELEASE_LOWERCASE% %BOOST_WIN_API% %BOOST_LIBS% stage --stagedir=stage/%GEN_SHORTHAND% IF NOT %ERRORLEVEL%==0 GOTO :Error