diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-27 06:58:54 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-27 06:58:54 +0100 |
commit | c65bf0c5c25c554667aebce9f2d3183cd3af4357 (patch) | |
tree | a2b1debcb1687faed8c0d32622119f17531a8bb6 /x-plane-plugin | |
parent | aaed56e93ddff39159f2d0b08d857a4a01a8184a (diff) |
fix clang warnings
Diffstat (limited to 'x-plane-plugin')
-rw-r--r-- | x-plane-plugin/plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c index b062bb02..e988313b 100644 --- a/x-plane-plugin/plugin.c +++ b/x-plane-plugin/plugin.c @@ -37,6 +37,12 @@ # define MAP_FAILED ((void*)-1) #endif +#ifdef __GNUC__ +# pragma GCC diagnostic ignored "-Wimplicit-float-conversion" +# pragma GCC diagnostic ignored "-Wdouble-promotion" +# pragma GCC diagnostic ignored "-Wlanguage-extension-token" +#endif + enum Axis { TX = 0, TY, TZ, Yaw, Pitch, Roll }; |