← Back to team overview

kicad-developers team mailing list archive

Re: boost::polygon workaround

 

Le 20/10/2013 16:47, Camille 019 a écrit :
> Hello,
> 
> In CMakeLists.txt there is a wokaround to fix the bug #1056926
> <https://bugs.launchpad.net/kicad/+bug/1056926>.
> 
> I removed this workaround and I am not able to reproduce the bug with
> recent version of GCC (4.8.1) and boost (1.54). Cut out in Zone work
> fine for me with -O1, -O2 and -O3 optimization level for GCC and Clang
> 3.3 . The boost::polygon issue seem fixed in 1.54 version.
> 
> Is there someone who can test the patch attached with GCC 4.7.x ?
> If all work fine I propose to remove this workaround in the testing branch.
> 
> Best regards
> 
> PS: this patch also remove all stuff related to C language (not needed)
> and add some CMake output.
> 
> -- 
> Camille

No it is not fixed and it will be not fixed.
This bug happens only with GCC 4.7.0, GCC 4.7.1 and GCC 4.7.2.

The guy who is working on boost polygon is not able to fix it, and he is
thinking this is a GCC bug, not a boost bug.

Therefore the workaround cannot be removed (however using -O1 option can
be set only for GCC versions 4.7.0 to 4.7.2)

-- 
Jean-Pierre CHARRAS


Follow ups

References