Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted

--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
This commit is contained in:
Botond Ballo 2014-11-24 19:43:19 -05:00
parent 81bbb8a3de
commit 7a90ff53d7
6 changed files with 36 additions and 0 deletions

View File

@ -50,4 +50,10 @@ LOCAL_INCLUDES += [
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors:
# - about attributes on forward declarations for types that are already
# defined, which complains about an important MOZ_EXPORT for android::AString
if CONFIG['GNU_CC']:
CXXFLAGS += ['-Wno-error=attributes']
FINAL_LIBRARY = 'xul'

View File

@ -50,3 +50,9 @@ CXXFLAGS += [
]
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors:
# - about attributes on forward declarations for types that are already
# defined, which complains about an important MOZ_EXPORT for android::AString
if CONFIG['GNU_CC']:
CXXFLAGS += ['-Wno-error=attributes']

View File

@ -22,6 +22,12 @@ LOCAL_INCLUDES += [
]
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors:
# - about attributes on forward declarations for types that are already
# defined, which complains about an important MOZ_EXPORT for android::AString
if CONFIG['GNU_CC']:
CXXFLAGS += ['-Wno-error=attributes']
FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True

View File

@ -273,4 +273,10 @@ CXXFLAGS += CONFIG['GSTREAMER_CFLAGS']
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors:
# - about attributes on forward declarations for types that are already
# defined, which complains about an important MOZ_EXPORT for android::AString
if CONFIG['GNU_CC']:
CXXFLAGS += ['-Wno-error=attributes']
FINAL_LIBRARY = 'xul'

View File

@ -48,6 +48,12 @@ MSVC_ENABLE_PGO = True
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors:
# - about attributes on forward declarations for types that are already
# defined, which complains about an important MOZ_EXPORT for android::AString
if CONFIG['GNU_CC']:
CXXFLAGS += ['-Wno-error=attributes']
FINAL_LIBRARY = 'xul'
DEFINES['IMPL_NS_NET'] = True

View File

@ -73,6 +73,12 @@ FAIL_ON_WARNINGS = True
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors:
# - about attributes on forward declarations for types that are already
# defined, which complains about an important MOZ_EXPORT for android::AString
if CONFIG['GNU_CC']:
CXXFLAGS += ['-Wno-error=attributes']
FINAL_LIBRARY = 'xul'
DISABLE_STL_WRAPPING = True