g++ -c SKernel_Misc.cpp -o SKernel_Misc.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SKernel_Misc.cpp:20:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
SKernel_Misc.cpp: In function `unsigned int _lrotl(unsigned int, int)':
SKernel_Misc.cpp:63: warning: unused variable `unsigned int bit'
SKernel_Misc.cpp: In member function `DWORD CSpeedKernel::ComputeFlyTime(const
PlaniPos&, const PlaniPos&, int)':
SKernel_Misc.cpp:449: warning: converting to `long unsigned int' from `float'
SKernel_Misc.cpp:452: warning: converting to `long unsigned int' from `float'
SKernel_Misc.cpp:455: warning: converting to `long unsigned int' from `float'
SKernel_Misc.cpp: In member function `int CSpeedKernel::GetFleetSpeed(int)':
SKernel_Misc.cpp:475: warning: converting to `int' from `float'
SKernel_Misc.cpp: In member function `void
CSpeedKernel::SetRemainingItemsInDef()':
SKernel_Misc.cpp:500: warning: converting to `int' from `double'
SKernel_Misc.cpp: In member function `TCHAR*
CSpeedKernel::AddPointsToNumber(long long unsigned int, TCHAR*)':
SKernel_Misc.cpp:524: warning: comparison between signed and unsigned integer
expressions
SKernel_Misc.cpp:525: warning: int format, different type arg (arg 3)
SKernel_Misc.cpp:527: warning: comparison between signed and unsigned integer
expressions
SKernel_Misc.cpp:528: warning: int format, different type arg (arg 3)
SKernel_Misc.cpp:532: warning: int format, different type arg (arg 3)
SKernel_Misc.cpp: In member function `genstring
CSpeedKernel::ReadStringFromIniFile(char*, const TCHAR*, const TCHAR*)':
SKernel_Misc.cpp:594: warning: `size_t f' might be used uninitialized in this
function
SKernel_Misc.cpp: In member function `bool CSpeedKernel::LoadRFFile(char*)':
SKernel_Misc.cpp:968: warning: converting to `int' from `float'
g++ -c SKernel_Optimized.cpp -o SKernel_Optimized.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SKernel_Optimized.cpp:20:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
g++ -c SKernel_Opts.cpp -o SKernel_Opts.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SKernel_Opts.cpp:20:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
g++ -c SKernel_Read.cpp -o SKernel_Read.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SKernel_Read.cpp:20:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
SKernel_Read.cpp: In member function `bool
CSpeedKernel::ParseSpioLine(genstring&, std::vector<SItem,
std::allocator<SItem> >&, int)':
SKernel_Read.cpp:214: warning: converting to `int' from `double'
SKernel_Read.cpp:226: warning: converting to `int' from `double'
SKernel_Read.cpp: In member function `bool CSpeedKernel::ReadOwnFleet(const
genstring&, int)':
SKernel_Read.cpp:348: warning: comparison between signed and unsigned integer
expressions
SKernel_Read.cpp: In member function `bool
CSpeedKernel::ReadCRTable(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::vector<SItem, std::allocator<SItem> >&,
ShipTechs&)':
SKernel_Read.cpp:579: warning: converting to `int' from `float'
SKernel_Read.cpp:590: warning: converting to `int' from `float'
SKernel_Read.cpp:601: warning: converting to `int' from `float'
SKernel_Read.cpp:501: warning: unused variable `int team'
g++ -c SKernel_Result.cpp -o SKernel_Result.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SKernel_Result.cpp:20:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
SKernel_Result.cpp: In member function `bool CSpeedKernel::GetSetFleet(SItem*,
SItem*, int)':
SKernel_Result.cpp:99: warning: converting of negative value `-1' to `unsigned
char'
SKernel_Result.cpp:110: warning: converting of negative value `-1' to `unsigned
char'
SKernel_Result.cpp:117: warning: converting of negative value `-1' to `unsigned
char'
SKernel_Result.cpp:128: warning: converting of negative value `-1' to `unsigned
char'
SKernel_Result.cpp: In member function `void
CSpeedKernel::GenerateCRTable(genstring&, const std::vector<SItem,
std::allocator<SItem> >&, int, int, TCHAR*)':
SKernel_Result.cpp:369: warning: converting to `int' from `double'
SKernel_Result.cpp: In member function `void CSpeedKernel::ComputeLoot()':
SKernel_Result.cpp:429: warning: converting to `long unsigned int' from `double
'
SKernel_Result.cpp:447: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:448: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:457: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:458: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:478: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:479: warning: converting to `long unsigned int' from `float'
SKernel_Result.cpp:502: warning: converting to `long unsigned int' from `double
'
SKernel_Result.cpp:518: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:519: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:528: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:529: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:549: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:550: warning: converting to `long unsigned int' from `float'
SKernel_Result.cpp: In member function `void
CSpeedKernel::ComputeBattleResult()':
SKernel_Result.cpp:655: warning: converting to `long long unsigned int' from `
double'
SKernel_Result.cpp:658: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp:664: warning: converting to `long long unsigned int' from `
double'
SKernel_Result.cpp:666: warning: converting to `long long unsigned int' from `
float'
SKernel_Result.cpp: In member function `void CSpeedKernel::ComputeLosses()':
SKernel_Result.cpp:714: warning: converting to `long unsigned int' from `double
'
SKernel_Result.cpp:804: warning: converting to `int' from `float'
SKernel_Result.cpp:805: warning: converting to `int' from `float'
SKernel_Result.cpp:806: warning: converting to `int' from `float'
g++ -c SKernel_Sim.cpp -o SKernel_Sim.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SKernel_Sim.cpp:20:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
SKernel_Sim.cpp: In member function `bool
CSpeedKernel::SetFleet(std::vector<SItem, std::allocator<SItem> >*,
std::vector<SItem, std::allocator<SItem> >*)':
SKernel_Sim.cpp:82: warning: unused variable `int StartPos'
SKernel_Sim.cpp:82: warning: unused variable `int EndPos'
SKernel_Sim.cpp: In member function `bool CSpeedKernel::Simulate(int)':
SKernel_Sim.cpp:217: warning: unused variable `int def_won'
SKernel_Sim.cpp:217: warning: unused variable `int att_won'
SKernel_Sim.cpp:217: warning: unused variable `int draw'
SKernel_Sim.cpp: In static member function `static bool
CSpeedKernel::CanShootAgain_User(ITEM_TYPE, ITEM_TYPE)':
SKernel_Sim.cpp:765: warning: comparison between signed and unsigned integer
expressions
SKernel_Sim.cpp: In member function `void CSpeedKernel::AbortSim()':
SKernel_Sim.cpp:1077: warning: converting to `long unsigned int' from `double'
SKernel_Sim.cpp:1079: warning: converting to `long unsigned int' from `double'
SKernel_Sim.cpp:1080: warning: converting to `long unsigned int' from `float'
g++ -c SpeedKernel.cpp -o SpeedKernel.o -O2 -Wall -g
In file included from SpeedKernel.h:39,
from SpeedKernel.cpp:22:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
SpeedKernel.cpp: In function `void CheckVector(const std::vector<SItem,
std::allocator<SItem> >&)':
SpeedKernel.cpp:178: warning: unused variable `size_t s'
SpeedKernel.cpp: In function `void CheckVector(const std::vector<Obj,
std::allocator<Obj> >&)':
SpeedKernel.cpp:188: warning: unused variable `size_t s'
g++ -c -o speedsim_tools.o speedsim_tools.cpp
In file included from SpeedKernel.h:39,
from speedsim.h:30,
from speedsim_tools.cpp:21:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
g++ speedsim_6.cpp -o speedsim -O2 -Wall -g SKernel_Misc.o SKernel_Optimized.o SKernel_Opts.o SKernel_Read.o SKernel_Result.o SKernel_Sim.o SpeedKernel.o speedsim_tools.o
In file included from SpeedKernel.h:39,
from speedsim.h:30,
from speedsim_6.cpp:30:
SKernel_Structs.h: In constructor `BattleResult::BattleResult()':
SKernel_Structs.h:356: warning: converting to `int' from `float'
speedsim_6.cpp: In function `int main(int, char**)':
speedsim_6.cpp:103: error: no matching function for call to `CSpeedKernel::
ItemName(ITEM_TYPE&, char*[256])'
SpeedKernel.h:253: error: candidates are: void
CSpeedKernel::ItemName(ITEM_TYPE, TCHAR*)
SpeedKernel.h:262: error: genstring
CSpeedKernel::ItemName(ITEM_TYPE)
speedsim_6.cpp:104: warning: char format, pointer arg (arg 2)
speedsim_6.cpp:105: error: syntax error before `(' token
speedsim_6.cpp:106: error: no match for 'operator=' in 'att_begin[i] = num'
SKernel_Structs.h:112: error: candidates are: SItem& SItem::operator=(const
SItem&)
speedsim_6.cpp:118: error: no matching function for call to `CSpeedKernel::
ItemName(ITEM_TYPE&, char*[256])'
SpeedKernel.h:253: error: candidates are: void
CSpeedKernel::ItemName(ITEM_TYPE, TCHAR*)
SpeedKernel.h:262: error: genstring
CSpeedKernel::ItemName(ITEM_TYPE)
speedsim_6.cpp:119: warning: char format, pointer arg (arg 2)
speedsim_6.cpp:120: error: syntax error before `(' token
speedsim_6.cpp:121: error: no match for 'operator=' in 'def_begin[i] = num'
SKernel_Structs.h:112: error: candidates are: SItem& SItem::operator=(const
SItem&)
speedsim_6.cpp:127: error: no matching function for call to `CSpeedKernel::
SetFleet(std::vector<SItem, std::allocator<SItem> >&, std::vector<SItem,
std::allocator<SItem> >&)'
SpeedKernel.h:89: error: candidates are: bool
CSpeedKernel::SetFleet(std::vector<SItem, std::allocator<SItem> >*,
std::vector<SItem, std::allocator<SItem> >*)
speedsim_6.cpp:37: warning: unused variable `bool Read_from_file'
make: *** [speedsim] Error 1