Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess]Error compiling my program with boost and GCC
From: Laurence Chambenois (lchambenois_at_[hidden])
Date: 2009-06-24 05:17:49


Thanks for your answer.
I tried with GCC 4.3, it seems better because all compilation tests
seems correct, but I still have problems with my own program.

I have the following result when compiling my code :

/usr/include/sys/mman.h:145: erreur: reference to 'mode_t' is ambiguous
/usr/include/sys/mman.h:142: erreur: candidates are: typedef __mode_t mode_t
/usr/include/boost-1_38/boost/interprocess/detail/os_file_functions.hpp:209:
erreur: typedef enum boost::interprocess::mode_t

Do I have to include other hpp file that :
<boost/thread.hpp>
<boost/interprocess/sync/named_recursive_mutex.hpp>

Thanks for your help

Laurence

Ion Gaztañaga a écrit :
> Steven Watanabe wrote:
>> According to explicit-failures-markup.xml:
>> <mark-unusable>
>> <toolset name="gcc-3.3*" />
>> <note author="Ion Gaztañaga">The compiler does not support features
>> that are essential for the library.</note>
>> </mark-unusable>
>
> Thanks Steven,
>
>> In Christ,
>> Steven Watanabe
>
> Best,
>
> Ion
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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