g++ -Wall -Wextra -std=gnu++11 -O3 -I../yaml-cpp-0.5.3/include -ID:\Prog\msys64\mingw32\include\SDL -c -o obj/x86/release/BaseInfoState.o src/Basescape/BaseInfoState.cppsrc/Basescape/BaseInfoState.cpp: In member function 'virtual void OpenXcom::BaseInfoState::init()':src/Basescape/BaseInfoState.cpp:302:49: error: 'floor' was not declared in this scope ss5 << (int)floor(_base->getUsedStores() + 0.05) << ":" << _base->getAvailableStores(); ^makefile:81: recipe for target 'obj/x86/release/BaseInfoState.o' failedmingw32-make: *** [obj/x86/release/BaseInfoState.o] Error 1
g++ -Wall -Wextra -std=gnu++11 -O3 -I../yaml-cpp-0.5.3/include -ID:\Prog\msys64\mingw32\include\SDL -c -o obj/x86/release/CraftInfoState.o src/Basescape/CraftInfoState.cppsrc/Basescape/CraftInfoState.cpp: In member function 'virtual void OpenXcom::CraftInfoState::init()':src/Basescape/CraftInfoState.cpp:167:96: error: 'ceil' was not declared in this scope int damageHours = (int)ceil((double)_craft->getDamage() / _craft->getRules()->getRepairRate()); ^src/Basescape/CraftInfoState.cpp:176:135: error: 'ceil' was not declared in this scope int fuelHours = (int)ceil((double)(_craft->getRules()->getMaxFuel() - _craft->getFuel()) / _craft->getRules()->getRefuelRate() / 2.0); ^src/Basescape/CraftInfoState.cpp:238:119: error: 'ceil' was not declared in this scope int rearmHours = (int)ceil((double)(w1->getRules()->getAmmoMax() - w1->getAmmo()) / w1->getRules()->getRearmRate()); ^src/Basescape/CraftInfoState.cpp:277:119: error: 'ceil' was not declared in this scope int rearmHours = (int)ceil((double)(w2->getRules()->getAmmoMax() - w2->getAmmo()) / w2->getRules()->getRearmRate()); ^makefile:81: recipe for target 'obj/x86/release/CraftInfoState.o' failedmingw32-make: *** [obj/x86/release/CraftInfoState.o] Error 1
yaml-cpp-0.5.3