Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-28 09:46:50


On Saturday 27 October 2007 06:21:22 Boris Gubenko wrote:
> Index: build.jam
> ===================================================================
> --- build.jam   (revision 40483)
> +++ build.jam   (working copy)
> @@ -175,7 +175,7 @@
>      : -L$(--python-lib[1]) -l$(--python-lib[2]) ;
>  ## GCC 2.x, 3.x, 4.x
>  toolset gcc gcc : "-o " : -D
> -    : -pedantic
> +    : -pedantic -fno-strict-aliasing
>      [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
>      [ opt --debug : -g -O0 -fno-inline ]
>      -I$(--python-include) -I$(--extra-include) -Wno-long-long

Rene,
given that we have no idea if this gcc bug, or some subtle standard violation
on jam part, and how to workaround it property, can we just apply this patch?

This gcc 4.2 issue is recurring problem on IRC.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk