cxx: remove a compilation warning for g++ 7.x
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>
Wed, 17 Jul 2019 22:32:32 +0000 (19:32 -0300)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 23 Jul 2019 05:04:43 +0000 (14:04 +0900)
commitd34b7e627122ad67c1a312b0079971e5577ffa65
treed93e9e597bde68e80d56180e1b0b46d8ad26c6fb
parentc5b4046e0296343df43ea84fb5248e9da90a9453
cxx: remove a compilation warning for g++ 7.x

Remove a compilation warning about an unsupported warning category for g++ 7.x.

A `#pragma` directive was used to suppress a `-Wcast-function-type` warning
in g++.
Versions older than 8.x do not have this warning category and raises a warning
because of this directive.

Now this directive is only enabled for g++ version 8.x or newer.
src/bindings/cxx/eldbus_cxx/eldbus_service.hh