Boost logo

Boost Users :

From: Marcelo Tomim (marcelot_at_[hidden])
Date: 2008-07-25 13:26:58


Hello Everyone,

I have been trying to include boost/shared_ptr.hpp in a project I am working
on, but the compiler keeps giving me the following errors:

/usr/include/boost/shared_ptr.hpp:341: error: expected unqualified-id before
string constant
/usr/include/boost/shared_ptr.hpp:346: error: expected unqualified-id before
string constant
/usr/include/boost/shared_ptr.hpp:352: error: expected unqualified-id before
string constant
/usr/include/boost/shared_ptr.hpp:357: error: expected unqualified-id before
string constant
/usr/include/boost/shared_ptr.hpp:362: error: expected unqualified-id before
string constant

However, the most mind-boggling part is that if I include the same header file
in a program by itself (i.e., outside my project) it compiles fine.

Can anybody help me?
I really appreciate any suggestion.

Regards,
Marcelo Aroca Tomim


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