CANNOT COMPILE BOOST 153 WITH GCC-4.8
Hi guys, I've tried to compile boost 153 with gcc-4.8 and two weird things are happening. 1 - a bunch of warning during compile time 2 - any program using boost thread errors out : Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS" Can you please help me figure out what I'm doing wrong Thank you --
Le 10/05/13 19:57, Didier J-P Guion Firmin a écrit :
Hi guys, I've tried to compile boost 153 with gcc-4.8 and two weird things are happening.
1 - a bunch of warning during compile time 2 - any program using boost thread errors out : Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
Can you please help me figure out what I'm doing wrong
On which platform this error appear? Vicente
Hi Vincente, I am compiling on LUNIX CENTOS 6.3 and GCC 4.8 cheers On Fri, May 10, 2013 at 5:49 PM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
Le 10/05/13 19:57, Didier J-P Guion Firmin a écrit :
Hi guys,
I've tried to compile boost 153 with gcc-4.8 and two weird things are happening.
1 - a bunch of warning during compile time 2 - any program using boost thread errors out : Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
Can you please help me figure out what I'm doing wrong
On which platform this error appear?
Vicente ______________________________**_________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/**mailman/listinfo.cgi/boost-**usershttp://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Didier JP GF 15 Rue Albert Roussel 75017 Paris skype : bdidierjp
I have the same problem when switching to g++ 4.8 under Linux Mint 13, though I'm using an earlier boost (1.48). I'm not defining BOOST_DISABLE_THREADS anywhere, nor using threading=single. I think boost.config is defining BOOST_DISABLE_THREADS for some reason which I'm trying to figure out. I'll report back here if I do. -Gabe
I take it back - when I switch to boost 1.53, I no longer have the problem. To the OP - are you sure you're compiling your code against the right version of boost, and not perhaps picking up an older version that is installed on your system? -Gabe
I had the same problem using 1.48 after upgrading gcc to 4.8 a few weeks ago. I found a bug report (although I can't find it now) to say it was a configuration issue and the patch was committed in 1.49. I upgraded to 1.53 and compiled with gcc 4.8 and everything now seems fine. On 13 May 2013, at 20:32, Gabriel Redner wrote:
I have the same problem when switching to g++ 4.8 under Linux Mint 13, though I'm using an earlier boost (1.48). I'm not defining BOOST_DISABLE_THREADS anywhere, nor using threading=single. I think boost.config is defining BOOST_DISABLE_THREADS for some reason which I'm trying to figure out. I'll report back here if I do.
-Gabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Didier J-P Guion Firmin
-
Gabriel Redner
-
Kevin Martin
-
Vicente J. Botet Escriba