Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 16 Nov 2010 10:21:53 +0100
changeset 57571 a42e9b001bc86834134c57d15f519a3b67eb8fcf
parent 57570 539b6dd6ded6fb9712536622a92a1bc4058dd9f6
child 57572 2bcf34fc37a76cb179447839bfb30e30f1f1efb0
push id16985
push userdgottwald@mozilla.com
push dateTue, 16 Nov 2010 09:22:31 +0000
treeherdermozilla-central@a42e9b001bc8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones, benjamin
bugs578546
milestone2.0b8pre
first release with
nightly linux32
a42e9b001bc8 / 4.0b8pre / 20101116031409 / files
nightly linux64
a42e9b001bc8 / 4.0b8pre / 20101116030836 / files
nightly mac
a42e9b001bc8 / 4.0b8pre / 20101116030753 / files
nightly win32
a42e9b001bc8 / 4.0b8pre / 20101116042306 / files
nightly win64
a42e9b001bc8 / 4.0b8pre / 20101116044427 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin
dom/plugins/Makefile.in
gfx/ipc/Makefile.in
ipc/chromium/Makefile.in
ipc/glue/Makefile.in
ipc/ipdl/test/cxx/app/Makefile.in
modules/plugin/base/src/Makefile.in
testing/mochitest/ssltunnel/Makefile.in
widget/src/windows/Makefile.in
--- a/dom/plugins/Makefile.in
+++ b/dom/plugins/Makefile.in
@@ -89,17 +89,16 @@ EXPORTS_mozilla/plugins = \
   StreamNotifyParent.h \
   $(NULL)
 
 MODULE           = dom
 LIBRARY_NAME     = domplugins_s
 LIBXUL_LIBRARY   = 1
 FORCE_STATIC_LIB = 1
 EXPORT_LIBRARY = 1
-ENABLE_CXX_EXCEPTIONS = 1
 
 ifeq ($(MOZ_ENABLE_QT),1)
 MOCSRCS = \
   moc_NestedLoopTimer.cpp \
   $(NULL)
 
 QTSRCS = \
   NestedLoopTimer.cpp \
--- a/gfx/ipc/Makefile.in
+++ b/gfx/ipc/Makefile.in
@@ -53,18 +53,16 @@ EXPORT_LIBRARY     = 1
 EXPORTS_NAMESPACES = mozilla/gfx
 
 EXPORTS_mozilla/gfx = \
         SharedDIB.h   \
         $(NULL)
 
 CPPSRCS = SharedDIB.cpp
 
-ENABLE_CXX_EXCEPTIONS	= 1
-
 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
 EXPORTS_mozilla/gfx += \
   SharedDIBWin.h \
   SharedDIBSurface.h \
   $(NULL)
 
 CPPSRCS += \
   SharedDIBWin.cpp \
--- a/ipc/chromium/Makefile.in
+++ b/ipc/chromium/Makefile.in
@@ -44,17 +44,16 @@ include $(DEPTH)/config/autoconf.mk
 OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS))
 
 LIBRARY_NAME = chromium_s
 SUPPRESS_FAKELIB = 1 # Chromium is not ready for the awesomeness of fakelibs
 FORCE_STATIC_LIB = 1
 LIBXUL_LIBRARY = 1
 EXPORT_LIBRARY = 1
 
-ENABLE_CXX_EXCEPTIONS = 1
 ACDEFINES =
 
 ifndef MOZ_NATIVE_LIBEVENT # {
 vpath %.c \
   $(srcdir)/src/third_party/libevent \
   $(NULL)
 else # } else {
 # message_pump_libevent.cc includes third_party/libevent/event.h,
--- a/ipc/glue/Makefile.in
+++ b/ipc/glue/Makefile.in
@@ -74,18 +74,16 @@ ifeq ($(OS_TARGET),Android)
 # Android has its own,
 # almost-but-not-quite-compatible-with-POSIX-or-/dev/shm shared memory
 # impl.
 EXPORTS_mozilla/ipc += SharedMemoryBasic_android.h
 else
 EXPORTS_mozilla/ipc += SharedMemoryBasic_chromium.h
 endif #}
 
-ENABLE_CXX_EXCEPTIONS = 1
-
 CPPSRCS += \
   AsyncChannel.cpp \
   BrowserProcessSubThread.cpp \
   GeckoChildProcessHost.cpp \
   MessagePump.cpp \
   ProcessChild.cpp \
   RPCChannel.cpp \
   ScopedXREEmbed.cpp \
--- a/ipc/ipdl/test/cxx/app/Makefile.in
+++ b/ipc/ipdl/test/cxx/app/Makefile.in
@@ -38,17 +38,16 @@ DEPTH = ../../../../..
 topsrcdir = @top_srcdir@
 srcdir = @srcdir@
 VPATH = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 MODULE = ipdlunittest
 PROGRAM = $(MODULE)$(BIN_SUFFIX)
-ENABLE_CXX_EXCEPTIONS = 1
 
 NSDISTMODE = copy
 
 LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre
 
 CPPSRCS = \
   TestIPDL.cpp \
   $(NULL)
--- a/modules/plugin/base/src/Makefile.in
+++ b/modules/plugin/base/src/Makefile.in
@@ -114,20 +114,16 @@ EXTRA_DSO_LDOPTS = \
 		$(MOZ_COMPONENT_LIBS) \
 		$(MOZ_JS_LIBS) \
 		$(NULL)
 
 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 EXTRA_DSO_LDOPTS += $(TK_LIBS)
 endif
 
-ifndef WINCE
-ENABLE_CXX_EXCEPTIONS = 1
-endif
-
 include $(topsrcdir)/config/config.mk
 ifdef MOZ_IPC
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 endif
 include $(topsrcdir)/config/rules.mk
 
 ifeq ($(OS_ARCH),WINNT)
 OS_LIBS		+= $(call EXPAND_LIBNAME,version)
--- a/testing/mochitest/ssltunnel/Makefile.in
+++ b/testing/mochitest/ssltunnel/Makefile.in
@@ -46,20 +46,16 @@ include $(DEPTH)/config/autoconf.mk
 # This isn't XPCOM code, but it wants to use STL, so disable the STL
 # wrappers
 STL_FLAGS =
 
 PROGRAM = ssltunnel$(BIN_SUFFIX)
 
 CPPSRCS = ssltunnel.cpp
 
-# Despite not catching exceptions, we're using STL
-ENABLE_CXX_EXCEPTIONS=1
-
-
 # Use local includes because they are inserted before INCLUDES
 # so that Mozilla's nss.h is used, not glibc's
 LOCAL_INCLUDES += $(NSPR_CFLAGS) $(NSS_CFLAGS)
 
 LIBS = \
 	$(NSPR_LIBS) \
 	$(NSS_LIBS) \
 	$(NULL)
--- a/widget/src/windows/Makefile.in
+++ b/widget/src/windows/Makefile.in
@@ -131,20 +131,16 @@ LOCAL_INCLUDES	= \
 		$(NULL)
 
 FORCE_STATIC_LIB = 1
 
 ifdef WINCE
 EXTRA_DSO_LDOPTS += ddraw.lib
 endif
 
-ifndef WINCE
-ENABLE_CXX_EXCEPTIONS = 1
-endif
-
 ifdef MOZ_IPC
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 endif
 
 ifdef ENABLE_TESTS
 TOOL_DIRS  += tests
 endif