Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-21 06:31:17


"Ray" <RayHilton_64_at_[hidden]> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net