[GD-Windows] VC makes absurd code
Brought to you by:
vexxed72
From: Sergei M. <se...@ha...> - 2002-07-12 10:04:56
|
Hello everybody! A nasty problem - MSVC 6.0 / SP 5 generates absolutely absurd code - a conversion from 'const char *' to 'const std::string' crashes in any target configuration except Debug one. When looking closely at the code we saw the problem - compiler generates code like that: push 0 ... pop edx mov [edx], bla-bla STLport used. So, it is a problem with the optimizer I guess, but what it really wierd is that it happens only on my computer - I check all possible options, paths, service packs (MSVC/Win2k), processor packs - still nothing. Now I use Release builds from other computers, but I am totally clueless what can cause such a problem! Anyone experienced anything similar? Thanks! |