
Thank you. That fixed the issue. Apparently windows compiler doesn't mind the namespace in the header file but the GNU compiler, not so much. Cheers Carla -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: February-08-10 12:57 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Problems compiling with Boost AMDG Carla Strembicke wrote:
I have it in my header file (Common/Src/shmem.h) where I declare an boost interprocess object.
#include
#include #include using namespace boost::interprocess;
That's probably your problem. It's generally a bad idea to put using directives in header files. If you don't want to type out boost::interprocess:: everywhere, use a namespace alias. In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users