Flatbuffers: Ignore exit time destructor warning.
DefaultAllocator::instance() method in flatbuffers.h defines a static object,
leading to a destructor being run at exit-time. However, many targets in Chrome
use the "wexit_time_destructors" compiler config, which generates warnings when
exit time destructors are generated. This causes compile errors, when
flatbuffers.h is transitively included from a file in one of such targets. To
fix this, suppress the exit time destructor warning as part of the flatbuffer
config.
BUG=737847
Change-Id: I706be9e8c204ed24a82aa04b33b00a78cf36489d
Reviewed-on: https://chromium-review.googlesource.com/554318
Commit-Queue: Karan Bhatia <[email protected]>
Reviewed-by: Charlie Harrison <[email protected]>
Cr-Commit-Position: refs/heads/master@{#484403}
1 file changed