← Back to team overview

kicad-developers team mailing list archive

Re: [patch] Warnings removal

 

On Mon, Mar 03, 2014 at 07:02:44PM +0100, Camille 019 wrote:
> Here is a set of 3 patch to remove some warning.
> 
> * in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
> * struct/class '???' was previously declared as a class/struct [-Wmismatched-tags]
> * implicit conversion of NULL constant to 'bool' [-Wnull-conversion]

Applause on all three points :D

For the first one I *never* get why the standard says so...

The second one is just careless programming (while in fact the *only*
difference between class and struct is the default access)

The third one is really ugly :D

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References