
21 Oct
2003
21 Oct
'03
11:31 a.m.
"Ray"
Someone recently had this problem who was mixing old-style (e.g.
) and new-style (e.g. <iostream>) headers in the same project. You might try preprocessing your code and looking for suspicious #includes. -- Dave Abrahams Boost Consulting www.boost-consulting.com
Thanks for the tips but how do i go about "..preprocessing your code and looking for suspicious #includes."? I never debugged the preprocess level before.
Invoke your compiler with -E instead of -c (or /E instead of /c) and look at the #include lines for the names of old-style headers. -- Dave Abrahams Boost Consulting www.boost-consulting.com