ok
Current svn rev fail to build for me
Code: Select all
vegastrike/src/gfx/vdu.cpp:407:89: attention : narrowing conversion of ‘XMLSupport::parse_float((*(const string*)(& VegaConfig::getVariable(std::string, std::string, std::string, std::string)(std::basic_string<char>(((const char*)"graphics"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)"hud"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)"shield_vdu_thresh0"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>((do_shield_fade ? ((const char*)"0") : ((const char*)".25")), (*(const std::allocator<char>*)(& std::allocator<char>())))))))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/jonathan/VegaStrike/vegastrike/src/gfx/vdu.cpp:410:91: attention : narrowing conversion of ‘XMLSupport::parse_float((*(const string*)(& VegaConfig::getVariable(std::string, std::string, std::string, std::string)(std::basic_string<char>(((const char*)"graphics"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)"hud"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)"shield_vdu_thresh1"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)(do_shield_fade ? ".33" : ".50")), (*(const std::allocator<char>*)(& std::allocator<char>())))))))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/jonathan/VegaStrike/vegastrike/src/gfx/vdu.cpp:413:91: attention : narrowing conversion of ‘XMLSupport::parse_float((*(const string*)(& VegaConfig::getVariable(std::string, std::string, std::string, std::string)(std::basic_string<char>(((const char*)"graphics"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)"hud"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)"shield_vdu_thresh2"), (*(const std::allocator<char>*)(& std::allocator<char>()))), std::basic_string<char>(((const char*)(do_shield_fade ? ".66" : ".75")), (*(const std::allocator<char>*)(& std::allocator<char>())))))))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
C++ error are really unhuman that is one of reason i use D instead to CPP
http://dlang.org/