Ignore implicit conversion warnings

This commit is contained in:
Sergej Reich
2016-05-07 17:57:13 +02:00
parent 69cc00f91f
commit 6e8579fc14
3 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,8 @@
#endif
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used
#pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function
#pragma GCC diagnostic ignored "-Wconversion" // warning: conversion to 'xxxx' from 'xxxx' may alter its value
#endif
//-------------------------------------------------------------------------