mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no longer necessary. --HG-- extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
This commit is contained in:
parent
f91cf233ba
commit
9d68ee2953
@ -47,6 +47,3 @@ else:
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
if not CONFIG['GNU_CXX']:
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
@ -19,6 +19,3 @@ UNIFIED_SOURCES += [
|
||||
LOCAL_INCLUDES += [
|
||||
'..',
|
||||
]
|
||||
|
||||
if not CONFIG['GNU_CXX']:
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
@ -8,8 +8,5 @@ DIRS += ['secondplugin', 'javaplugin', 'thirdplugin', 'flashplugin']
|
||||
|
||||
SharedLibrary('nptest')
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
||||
relative_path = '.'
|
||||
include('testplugin.mozbuild')
|
||||
|
@ -37,9 +37,6 @@ CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
CFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
||||
CFLAGS += CONFIG['TK_CFLAGS']
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
@ -113,10 +113,6 @@ LDFLAGS += [CONFIG['MOZ_ALLOW_HEAP_EXECUTE_FLAGS']]
|
||||
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
|
||||
LDFLAGS += ['/HEAP:0x40000']
|
||||
|
||||
# Windows builds have dll linkage warnings due to msvcrt static linkage
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
||||
OS_LIBS += [
|
||||
'binder',
|
||||
|
@ -25,10 +25,6 @@ else:
|
||||
'nsWifiMonitor.cpp',
|
||||
]
|
||||
|
||||
# osx_corewlan.mm has warnings I don't understand.
|
||||
if CONFIG['OS_ARCH'] == 'Darwin':
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'Darwin':
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiScannerMac.cpp',
|
||||
|
Loading…
Reference in New Issue
Block a user