swordlegend / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Code does not compile warning free #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The code does not compile warning free in Visual Studio - which isn't a big 
issue until your company has a rule that says "treat warnings as errors" :) 
There are a lot of implicit type conversions that could result in "loss of 
data".

Original issue reported on code.google.com by armstron...@gmail.com on 13 Apr 2010 at 8:49

GoogleCodeExporter commented 9 years ago
Everything compiles now without warnings in VC++ 2008 Express in warning level 
4.

I don't use VC as primary devenv, next time, please be more specific on which
compiler (it seems 2010 is out now) and what settings you use.

Original comment by memono...@gmail.com on 13 Apr 2010 at 9:42

GoogleCodeExporter commented 9 years ago
Apologise for the lack of info. I am using VC++ 2008. Thanks - I'll give the 
latest 
code a go...

Original comment by armstron...@gmail.com on 13 Apr 2010 at 10:06

GoogleCodeExporter commented 9 years ago
Sorry - still getting a lot of warnings. I have attached the build log. I've 
got the 
latest on the "recastnavigation-read-only" SVN trunk. I loaded the VC9 
Recast.vcproj 
file and changed warnings to level 4 - then did a rebuild all.

Original comment by armstron...@gmail.com on 13 Apr 2010 at 10:12

Attachments:

GoogleCodeExporter commented 9 years ago
Hmm... I did fix those :) Can you try again? Maybe the repo did not update just 
yet.

Original comment by memono...@gmail.com on 13 Apr 2010 at 10:22

GoogleCodeExporter commented 9 years ago
Can you tell me what SVN revision I should expect to see when I update? I'm 
getting no 
code changes - and it says I'm on revision "150". Probably something I've done 
wrong my 
end! Thanks for looking into it...

Original comment by armstron...@gmail.com on 13 Apr 2010 at 10:33

GoogleCodeExporter commented 9 years ago
the fix should have been on R150. Looks like only the RecastDemo files got 
submitted.
I try to check what is going on. explorer.exe seems to be pissing on my cereals,
though. Time to reboot :)

Original comment by memono...@gmail.com on 13 Apr 2010 at 10:53

GoogleCodeExporter commented 9 years ago
R151 should do it.

Original comment by memono...@gmail.com on 13 Apr 2010 at 11:01

GoogleCodeExporter commented 9 years ago
Almost there: just a linker issue now. Seems that SlideShow.cpp and 
FileList.cpp are 
missing from the project:

Output Window:

1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall 
FileList::~FileList(void)" (??1FileList@@QAE@XZ) referenced in function 
_SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall 
SlideShow::~SlideShow(void)" (??1SlideShow@@QAE@XZ) referenced in function 
_SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall 
SlideShow::updateAndDraw(float,float,float)" 
(?updateAndDraw@SlideShow@@QAEXMMM@Z) 
referenced in function _SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall 
SlideShow::prevSlide(void)" (?prevSlide@SlideShow@@QAEXXZ) referenced in 
function 
_SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall 
SlideShow::nextSlide(void)" (?nextSlide@SlideShow@@QAEXXZ) referenced in 
function 
_SDL_main
1>main.obj : error LNK2019: unresolved external symbol "void __cdecl 
scanDirectory(char const *,char const *,struct FileList &)" (?
scanDirectory@@YAXPBD0AAUFileList@@@Z) referenced in function _SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall 
SlideShow::init(char const *)" (?init@SlideShow@@QAE_NPBD@Z) referenced in 
function 
_SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall 
SlideShow::SlideShow(void)" (??0SlideShow@@QAE@XZ) referenced in function 
_SDL_main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall 
FileList::FileList(void)" (??0FileList@@QAE@XZ) referenced in function _SDL_main

Original comment by armstron...@gmail.com on 13 Apr 2010 at 11:28

GoogleCodeExporter commented 9 years ago
Damn, I just happened to add some new stuff :) One more try, check R153.

Original comment by memono...@gmail.com on 13 Apr 2010 at 1:21