IOT-2539 ignore warnings for older compilers 43/22743/11
authorGeorge Nash <george.nash@intel.com>
Thu, 27 Jul 2017 01:03:54 +0000 (18:03 -0700)
committerRick Bell <richard.s.bell@intel.com>
Fri, 13 Oct 2017 20:39:44 +0000 (20:39 +0000)
commit9cff3985820ae87212710195aed6f860747afc0a
tree2ec08b83bec14b079e8485a966eb58906246d077
parent690545bb0711d447ea2d1e4ecbebc24506e26e5e
IOT-2539 ignore warnings for older compilers

Ignore 'missing-field-initializers' warning  if gcc version
is older than 5.0. This is due to a bug in how older
versions of gcc handles C++11 code.
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750

Ignore 'missing-braces' waring if gcc version is older
than 5.0 this is also due to a bug in how older versions
of gcc handles C++11 code.
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25137

This is in preperation to enable the -Werror build flag.

Bug: https://jira.iotivity.org/browse/IOT-2539
Change-Id: Ia098c273bdbcda485fd02d73941207f502ed861a
Signed-off-by: George Nash <george.nash@intel.com>
build_common/linux/SConscript