Ian McInerney
fcca4bc3e6
Add a new warnings variable that can be used for injecting new warnings
...
This variable can be used to add in more warnings to the compilation
that only apply to the KiCad code and not the SWIG or third-party code.
2021-04-22 22:08:00 +01:00
Simon Richter
53579c42ad
Disable -Wpsabi
...
There was an ABI change for 64 bit aligned vectors between gcc 5 and gcc 6
on a few 64 bit platforms, and gcc 10 reports "note" level warnings for
each affected access, which is very noisy and hides more important
information.
These notes are issued because there is no reliable diagnostic for actual
problems.
2020-10-12 22:34:05 +00:00
Simon Richter
70e62e384d
Document what -Wvla does and why we want to treat it as an error
2020-10-12 22:34:05 +00:00
Ian McInerney
b5adf5bb21
Only try to remove the implicit conversion warning if it is supported
2020-07-03 02:59:19 +01:00
Ian McInerney
c27207500d
Cleanup some compiler warnings
2020-07-03 00:10:31 +01:00
Seth Hillbrand
7e3a338518
Move warning flags to proper place
...
Cleans unitialized warnings in wxApps
2020-07-02 12:17:45 -07:00
Ian McInerney
e4b6487fca
Overhaul compiler warnings infrastructure
...
* Track our warnings separate from normal flags
* Remove all warnings from the SWIG code
* Add more GCC warnings
2020-05-06 01:47:20 +01:00
Simon Richter
23c1837eba
Fix typo
2020-05-02 11:19:03 +00:00
Ian McInerney
71332fcb77
Add Clang's version of -Wsuggest-override
2020-04-25 01:09:30 +01:00
Ian McInerney
5a4e4aea67
Enable new warnings
2020-04-25 00:46:29 +01:00