gecko-dev/ipc
Chris Peterson 9341d66cbd Bug 1333686 - Part 3: Fix -Wmacro-redefined warnings in ipc/chromium. r=jld
The WARN_UNUSED_RESULT macro is defined in multiple Google header files in ipc/chromium and webrtc. Copy the WARN_UNUSED_RESULT definition from the latest security/sandbox/chromium/base/compiler_specific.h to our ipc/chromium code. Also remove the ALLOW_UNUSED macro definition because it is no longer defined in the latest compiler_specific.h and is not used anywhere.

Warning: -Wmacro-redefined in ipc/chromium/src/base/compiler_specific.h: 'WARN_UNUSED_RESULT' macro redefined
ipc/chromium/src/base/compiler_specific.h:73:9: warning: 'WARN_UNUSED_RESULT' macro redefined [-Wmacro-redefined]
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))

media/webrtc/trunk/webrtc/typedefs.h:152:9: note: previous definition is here
#define WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))

MozReview-Commit-ID: EUIlXGKLhDL

--HG--
extra : rebase_source : f252b7b36824f6e4f11fdf6e543dd760ac90e81e
extra : histedit_source : 870eaf4875e954c16e3a951ffea73102ffff2436
2017-01-16 19:14:52 -08:00
..
app Bug 1332530 - Remove librlz and EME/GMP device binding code. r=gerald 2017-01-20 13:47:48 +13:00
chromium Bug 1333686 - Part 3: Fix -Wmacro-redefined warnings in ipc/chromium. r=jld 2017-01-16 19:14:52 -08:00
contentproc Bug 1332530 - Move GMPLoader code out of plugin-container and back into XUL. r=gerald 2017-01-19 15:39:03 +13:00
dbus Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
glue Bug 1335526 - Ensure that sandboxed channel's result principal is unique; r=bzbarsky 2017-02-01 13:47:26 -05:00
hal Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
ipdl Bug 1335103 - Remove spurious usage of Actor in lower.py. r=billm 2017-01-27 15:48:52 -08:00
mscom Bug 1335235: Add disabling of the COM BSTR cache to mscom::MainThreadRuntime; r=jimm 2017-01-30 16:39:08 -07:00
netd Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
ril Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
testshell Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
unixfd Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
unixsocket Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
moz.build Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
pull-chromium.py