Bug 836150: Mark tools/profiler as FAIL_ON_WARNINGS, for non-MSVC compilers. r=BenWa
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 29 Jan 2013 21:12:07 -0800
changeset 130209 0f78cc92ab1a40d1d97cfa105da8aa4883ca48c8
parent 130208 ab658aec6a285a806b0757825b330be3c8e3d9e6
child 130210 339fb8542d51464d0a6529b030ba62645ac19ed1
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa
bugs836150
milestone21.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 836150: Mark tools/profiler as FAIL_ON_WARNINGS, for non-MSVC compilers. r=BenWa
tools/profiler/Makefile.in
--- a/tools/profiler/Makefile.in
+++ b/tools/profiler/Makefile.in
@@ -32,16 +32,19 @@ DEFINES += -DARCH_ARMV6
 endif
 
 MODULE          = profiler
 MODULE_NAME     = nsProfilerModule
 LIBRARY_NAME    = profiler
 EXPORT_LIBRARY  = 1
 LIBXUL_LIBRARY  = 1
 IS_COMPONENT    = 1
+ifndef _MSC_VER
+FAIL_ON_WARNINGS = 1
+endif # !_MSC_VER
 
 CPPSRCS		= \
   nsProfilerFactory.cpp \
   nsProfiler.cpp \
   TableTicker.cpp \
   JSObjectBuilder.cpp \
   JSCustomObjectBuilder.cpp \
   $(NULL)