|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-07-25 18:05:58
Marcelo Tomim:
> 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.
My guess is that someone has #defined a "reset" macro.
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