1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-02-02 03:40:06 +00:00

Merge pull request #639 from sergof/conversion-warnings

Ignore various anal GCC warnings.
This commit is contained in:
omar 2016-05-07 21:08:43 +02:00
commit 8af76d56b4
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
//-------------------------------------------------------------------------