plugins: Use common params for Werror flag 93/26493/2
authorPhilippe Coval <p.coval@samsung.com>
Sun, 22 Jul 2018 06:58:24 +0000 (08:58 +0200)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 13 Aug 2018 06:08:04 +0000 (06:08 +0000)
commita9d4ce8b029b3aa3f6bc4b5ec369d447c8f81037
tree58e57a35cc5fefdea7367ffff46109b1591d05c1
parent647c7d5ddf66646700880808fc3f3780807ca18b
plugins: Use common params for Werror flag

This flag should be used at project level using build_common settings

For reference the build issue was oberved on Yocto's poky master:

    bridging/plugins/lifx_plugin/lifx_objects/lifx.cpp:83:53:\
    required from here
    extlibs/rapidjson/rapidjson/include/rapidjson/document.h:1635:24: \
    error: 'void* memcpy(void*, const void*, size_t)' \
    writing to an object of type \
    'class rapidjson::GenericValue<rapidjson::UTF8<> >' \
    with no trivial copy-assignment; \
    use copy-assignment or copy-initialization instead \
    [-Werror=class-memaccess]
    std::memcpy(data_.a.elements, values, count * sizeof(GenericValue));
    (...)

Change-Id: I4b820e50158e34a94d84195e4979ada6fefff190
Signed-off-by: Philippe Coval <p.coval@samsung.com>
bridging/plugins/hue_plugin/SConscript
bridging/plugins/lifx_plugin/SConscript
bridging/plugins/lyric_plugin/SConscript
bridging/plugins/nest_plugin/SConscript
plugins/src/SConscript
plugins/zigbee_wrapper/src/SConscript