Re: [Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Dick Hollenbeck
>> >> No, I passed through that path and rejected it. Tell the compiler to shut >> up. >> >> > > Did you happen to check the logic on a C++11 compiler? There is an ifdef on > lines 58-60 of the file include/layers_id_colors_and_visibility.h that sets > the type of the enum to unsigned char on

Re: [Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Michael Narigon
On Jul 30, 2014, at 2:19 PM, Dick Hollenbeck wrote: > On 07/30/2014 02:51 PM, Michael Narigon wrote: >> All, Here are four patches to correct some warnings I am seeing while >> compiling with >> the OS X compiler in C++11 mode. I think they have general applicability for >> all >> targets. I c

Re: [Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Dick Hollenbeck
On 07/30/2014 02:51 PM, Michael Narigon wrote: > All, Here are four patches to correct some warnings I am seeing while > compiling with > the OS X compiler in C++11 mode. I think they have general applicability for > all > targets. I checked that the patches will apply against 5037 and that the 5

[Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Michael Narigon
All, Here are four patches to correct some warnings I am seeing while compiling with the OS X compiler in C++11 mode. I think they have general applicability for all targets. I checked that the patches will apply against 5037 and that the 5037 programs run (on Ubuntu Linux 14.04). The first pat