pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/boost-libs issue in pkg/42746



>> I've heard it breaks building with gcc-4.1.x. How about
>> BJAM_ARGS+=    cxxflags=-fno-strict-aliasing
> 
> That won't fly: the issue with gcc-4.4 has nothing to do with aliasing
> 
> I just ran a test anyway and I get the same results as in the original bug
> report:
> 
>       ./boost/spirit/home/support/iterators/multi_pass_fwd.hpp:75: error: 
> 'clear_mode' is not a class or namespace
> 
> 
> and yet the -std=gnu++0x option breaks the build for gcc-4.1:
> 
>       cc1plus: error: unrecognized command line option "-std=c++0x"
> 
> We should conditionalize the BJAM_ARGS+= line depending on the version of gcc.
> Sadly, I've no idea how to do that.

I've added the condition. I guess that should be enough.

Thanks for testing this. :)

Cheers,
Adam


Home | Main Index | Thread Index | Old Index