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

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

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 stran...@tiscali.cz wrote: Hello, I am getting: g++ -Wall -O2 -I /g/boost_1_53_0 test_polygon_diff.cpp test_polygon_diff.cpp: In

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

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 stran...@tiscali.cz 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

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 d...@softplc.com wrote: On Jun 17, 2013 5:02 AM, Milan Horák stran...@tiscali.cz 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

Re: [Kicad-developers] Windows python scipting work

2013-06-17 Thread Dick Hollenbeck
On Jun 17, 2013 6:20 AM, Brian Sidebotham brian.sidebot...@gmail.com wrote: On 15 June 2013 22:47, Dick Hollenbeck d...@softplc.com wrote: On 06/15/2013 02:39 PM, Brian Sidebotham wrote: Hi Guys, Sorry I've not given out much information yet. This is where I am: I've nearly finished

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

Re: [Kicad-developers] pcbnew hang

2013-06-17 Thread Wayne Stambaugh
On 6/16/2013 12:44 PM, Chris Morgan wrote: Hi Wayne. I think the difference may be due to where the app was started. It's the same build with debug enabled and installed from the kicad testing repository. The actual directories are odd though, they are off of a backed up root install from

Re: [Kicad-developers] pcbnew hang

2013-06-17 Thread Chris Morgan
On Mon, Jun 17, 2013 at 11:11 AM, Wayne Stambaugh stambau...@verizon.netwrote: On 6/16/2013 12:44 PM, Chris Morgan wrote: Hi Wayne. I think the difference may be due to where the app was started. It's the same build with debug enabled and installed from the kicad testing repository.

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:

Re: [Kicad-developers] pcbnew hang

2013-06-17 Thread Wayne Stambaugh
On 6/17/2013 6:19 AM, Chris Morgan wrote: It looks like I won't be able to test the fix here. The flag, /wxDIR_NO_FOLLOW/, appears to have been added in wxWidgets 2.9.5 according to the documentation.

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
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 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] pcbnew hang

2013-06-17 Thread Dick Hollenbeck
On 06/17/2013 11:34 AM, Wayne Stambaugh wrote: On 6/17/2013 6:19 AM, Chris Morgan wrote: It looks like I won't be able to test the fix here. The flag, /wxDIR_NO_FOLLOW/, appears to have been added in wxWidgets 2.9.5 according to the documentation.

Re: [Kicad-developers] pcbnew hang

2013-06-17 Thread Wayne Stambaugh
On 6/16/2013 12:44 PM, Chris Morgan wrote: Hi Wayne. I think the difference may be due to where the app was started. It's the same build with debug enabled and installed from the kicad testing repository. The actual directories are odd though, they are off of a backed up root install from

[Kicad-developers] CMake installation support

2013-06-17 Thread Dick Hollenbeck
This is a large topic, so I'm creating a new thread. http://www.gnu.org/prep/standards/html_node/Directory-Variables.html They have datadir and datarootdir which are for readonly data, essentially the same thing, both for *readonly* data. CMake recently introduced a patch to support a

Re: [Kicad-developers] pcbnew hang

2013-06-17 Thread Wayne Stambaugh
On 6/17/2013 2:10 PM, Dick Hollenbeck wrote: On 06/17/2013 11:34 AM, Wayne Stambaugh wrote: On 6/17/2013 6:19 AM, Chris Morgan wrote: It looks like I won't be able to test the fix here. The flag, /wxDIR_NO_FOLLOW/, appears to have been added in wxWidgets 2.9.5 according to the documentation.

Re: [Kicad-developers] CMake installation support

2013-06-17 Thread Dick Hollenbeck
Solution B: === // Path list for KiCad data files static wxStrings_KicadDataPathList[] = { #ifdef __WINDOWS__ wxT( c:/kicad/share/ ), wxT( d:/kicad/share/ ), wxT( c:/kicad/ ), wxT( d:/kicad/ ), wxT( c:/Program Files/kicad/share/ ), wxT( d:/Program

Re: [Kicad-developers] CMake installation support

2013-06-17 Thread Wayne Stambaugh
On 6/17/2013 5:03 PM, Dick Hollenbeck wrote: Solution B: === // Path list for KiCad data files static wxStrings_KicadDataPathList[] = { #ifdef __WINDOWS__ wxT( c:/kicad/share/ ), wxT( d:/kicad/share/ ), wxT( c:/kicad/ ), wxT( d:/kicad/ ), wxT( c:/Program