I used to have VC6 and intel c++ installed and both works fine. After I installed VC7.1 (and still keeps VC6) I came into a strange problem with linking with msvcrt.
In the link stage, xilink always fail to resolve some C++ symbols in STL lib(like basic_istream etc) as long as it's linked with msvcp71.dll. The main function could be as simple as just "std::cout<
icl /GX /MD /Qvc7.1 /Fevec.exe vec.cpp
If I link with static lib instead:
icl /GX /MT /Qvc7.1 /Fevec.exe vec.cpp
Then it's OK. What flags/setup did I miss?
------------- here's part of a sample error message ---------------
vec.obj : error LNK2019: unresolved external symbol "const std::basic_ostreamsigned short,struct std::char_traits >::`vbtable'" (??_8?$basic_
ostream@GU?$char_traits@G@std@@@std@@7B@) referenced in function "public: __this
call std::basic_ostream >
::basic_ostream >(enum st