Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Edwin van den Oetelaar
My test on a stock debian 7 32 bit VM (fresh install, all updates etc) Now with the Boost 1.53 from kicad directory. -O0 and -O1 give 12 corners -O2 and -O3 give 0 corners --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5)

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Dick Hollenbeck
On 06/17/2013 11:29 AM, Dick Hollenbeck wrote: > Jean-Pierre, > > > I get a 12 point polygon with 4.7.3 regardless of optimization setting, -01, > -02, -03 > using a *64 bit* program on linux. > > With some additional install I can do a 32 bit test also. Did that install, and found that the 3

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread jp charras
Le 17/06/2013 18:29, Dick Hollenbeck a écrit : Jean-Pierre, I get a 12 point polygon with 4.7.3 regardless of optimization setting, -01, -02, -03 using a 64 bit program on linux. With some additional install I can do a 32 bit test also. Thanks, Dick It is worth only if this is not a lot

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Dick Hollenbeck
Jean-Pierre, I get a 12 point polygon with 4.7.3 regardless of optimization setting, -01, -02, -03 using a 64 bit program on linux. With some additional install I can do a 32 bit test also. Thanks, Dick ___ Mailing list: https://launchpad.net/~kic

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread jp charras
Le 17/06/2013 16:13, Edwin van den Oetelaar a écrit : I downloaded this file : https://svn.boost.org/trac/boost/attachment/ticket/7983/test_polygon_diff.cpp And compiled it on Debian 7 (Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2+deb7u2 i686 GNU/Linux) With this info on the C compiler :

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Edwin van den Oetelaar
I downloaded this file : https://svn.boost.org/trac/boost/attachment/ticket/7983/test_polygon_diff.cpp And compiled it on Debian 7 (Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2+deb7u2 i686 GNU/Linux) With this info on the C compiler : gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Dick Hollenbeck
On Jun 17, 2013 6:21 AM, "Brian Sidebotham" wrote: > > On 17 June 2013 11:59, Dick Hollenbeck wrote: >> >> >> On Jun 17, 2013 5:02 AM, "Milan Horák" wrote: >> > >> > Hello, >> > >> > I am getting: >> > >> > g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp >> > >> > test_polygon_diff.cpp: I

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Brian Sidebotham
On 17 June 2013 11:59, Dick Hollenbeck wrote: > > On Jun 17, 2013 5:02 AM, "Milan Horák" wrote: > > > > Hello, > > > > I am getting: > > > > g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp > > > > test_polygon_diff.cpp: In function ‘void dumpPolySet(const > KI_POLYGON_SET&)’: > > test_pol

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Dick Hollenbeck
On Jun 17, 2013 5:02 AM, "Milan Horák" wrote: > > Hello, > > I am getting: > > g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp > > test_polygon_diff.cpp: In function ‘void dumpPolySet(const KI_POLYGON_SET&)’: > test_polygon_diff.cpp:84:60: warning: format ‘%d’ expects argument of type ‘int’

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Milan Horák
Hello, gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp ./polyset polygons count 1 polygon 0, corners count 12 // polyset polygons count 1 polygon 0, corners count 12 10, 10 5, 10 5, 5 5, -5 -5, -5 -5, 5 5, 5 5, 10 -1

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Brian Sidebotham
You can change to %lu to get rid of the warning if you want, otherwise just ignore the format warning. Best Regards, Brian. On 17 June 2013 11:02, Milan Horák wrote: > Hello, > > I am getting: > > g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp > > test_polygon_diff.cpp: In function ‘vo

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Milan Horák
Hello, I am getting: g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp test_polygon_diff.cpp: In function ‘void dumpPolySet(const KI_POLYGON_SET&)’: test_polygon_diff.cpp:84:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector >::size_type {aka l

Re: [Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread Dr. Thomas Spindler
Jean-Pierre, g++ -O2 test_polygon_diff.cpp gcc version 4.7.1 20120723 [gcc-4_7-branch revision 189773] (SUSE Linux) failure --> // polyset polygons count 1 polygon 0, corners count 5 10, 10 -10, 10 -10, -10 10, -10 10, 10 gcc version 4.7.2 20130108 [gcc-4_7-branch revision 195012

[Kicad-developers] Call for help to compile a small test program with g++ version 4.7.3 and more.

2013-06-17 Thread jp charras
Some developers know boost::polygon has an issue when compiled with g++ 4.7.2 (currently the lasted version on MinGW) using the -O2 (or more) optimization level. I am not 100% sure, however I am guessing this issue was also reported on Linux. The developer of boost::polygon asked me to test (i