HomePhabricator

cxx: remove a compilation warning for g++ 7.x

Authored by vitor.sousa on Jul 17 2019, 3:32 PM.

Description

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.

Details

Committed
vitor.sousaJul 17 2019, 3:32 PM
Parents
rEFLc46a8143916f: eina: set EINA_VALUE_EMPTY during library init.
Branches
Unknown
Tags
Unknown