← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix clang warnings

 

On 02.06.2014 19:52, Bernhard Stegmaier wrote:
Hi,

building with clang (at least on OSX) and -Wall is really noisy so that
you can hardly see what’s going wrong.
So, I decided to fix the warnings… attached are 3 patches I prepared
(against rev. 4911):

*** clang-warnings-1.diff:
Everything that probably should be fixed:\

Hi Bernhard,

-            if( ip = s1.Intersect( s_next ) )
+            if( (ip = s1.Intersect( s_next )) )

What upsets clang in the first line? I'm asking because I'm unable to get Kicad to build with clang on Linux (wx 3.0) due to compilation errors in wx...

Tom


Follow ups

References