mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
Let the warning flag be added by the build system and not when/if the header AP_Common.h is included. Both waf and make were already updated to contain these warnings. Besides being in the wrong place, with clang++ we actually can't add "-Wno-" definitions in build system because we enable all of the in the header with -Wall.