Fixed overzealous GCC warnings (#883) + partly undo 8553bab241

This commit is contained in:
ocornut
2016-11-12 11:14:31 +01:00
parent 89d033aba3
commit 775ac24d45
3 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@
#pragma GCC diagnostic ignored "-Wformat-security" // warning : format string is not a string literal (potentially insecure)
#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
#pragma GCC diagnostic ignored "-Wmisleading-indentation" // warning: this 'if' clause does not guard this statement
//#pragma GCC diagnostic ignored "-Wmisleading-indentation" // warning: this 'if' clause does not guard this statement // GCC 6.0+ only. See #883 on github.
#endif
// Play it nice with Windows users. Notepad in 2015 still doesn't display text data with Unix-style \n.