Bug 1118149 - Mark js/src as FAIL_ON_WARNINGS for gcc and clang. r=jorendorff
authorChris Peterson <cpeterson@mozilla.com>
Sun, 14 Dec 2014 22:10:10 -0800
changeset 248178 bdf7e46a6165cbecce3efb123d854aa36df29008
parent 248177 143ddd8eded99c6ef815efec3bfe3dc41d7b8acf
child 248179 5142da8b7addd32a1e1eac9ea58368b56dbd0088
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1118149
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1118149 - Mark js/src as FAIL_ON_WARNINGS for gcc and clang. r=jorendorff
js/src/jsapi-tests/moz.build
js/src/moz.build
js/xpconnect/shell/moz.build
--- a/js/src/jsapi-tests/moz.build
+++ b/js/src/jsapi-tests/moz.build
@@ -106,10 +106,10 @@ LOCAL_INCLUDES += ['..']
 GENERATED_INCLUDES += ['..']
 
 USE_LIBS += [
     'static:js',
 ]
 
 OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
 
-if CONFIG['CLANG_CXX']:
+if CONFIG['GNU_CXX']:
     FAIL_ON_WARNINGS = True
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -514,8 +514,11 @@ if CONFIG['OS_ARCH'] == 'Linux':
 
 if CONFIG['OS_ARCH'] == 'SunOS':
     OS_LIBS += [
         'posix4',
         'dl',
         'nsl',
         'socket',
     ]
+
+if CONFIG['GNU_CXX']:
+    FAIL_ON_WARNINGS = True
--- a/js/xpconnect/shell/moz.build
+++ b/js/xpconnect/shell/moz.build
@@ -1,16 +1,14 @@
 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-FAIL_ON_WARNINGS = True
-
 GeckoProgram('xpcshell', linkage='dependent')
 
 SOURCES += [
     'xpcshell.cpp',
 ]
 
 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
     SOURCES += [