Bug 984079 - Suppress clang and gcc warnings in third-party code: protobuf. r=mmc

This commit is contained in:
Chris Peterson 2014-03-15 23:25:55 -07:00
parent a87bcb5238
commit fca4f67cbd

View File

@ -46,3 +46,10 @@ UNIFIED_SOURCES += [
FINAL_LIBRARY = 'toolkitcomps'
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
# Suppress warnings in third-party code.
if CONFIG['GNU_CXX']:
CXXFLAGS += [
'-Wno-null-conversion',
'-Wno-sign-compare',
]