From ec15777c51b14930ae1fd25e9080562b5ca591a4 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 17 Feb 2014 23:00:01 -0800 Subject: [PATCH] Turn off -Werror for Linux --- qgroundcontrol.pro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index 29ba45446..dc53378a7 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -135,8 +135,13 @@ WindowsBuild { # MacBuild | LinuxBuild { - QMAKE_CXXFLAGS_WARN_ON += -Wall \ - -Werror + QMAKE_CXXFLAGS_WARN_ON += -Wall +} + +# Note: -Werror is currently not turned on for Linux due to unfixed problems with release builds + +MacBuild { + QMAKE_CXXFLAGS_WARN_ON += -Werror } WindowsBuild { -- 2.22.0