21 Oct
2003
21 Oct
'03
11:31 a.m.
"Ray" <RayHilton_64@hotmail.com> writes:
Someone recently had this problem who was mixing old-style (e.g. <iostream.h>) 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