warnings - disable y2k and format non literal and float comparison

so... comapring float warnings are 98% noise and no way to shut them
up without actively changing code beavhiour. i fixed what possibly
could be issues. don't force this on for everyone as it's almost all
noise and nothing useful. turn it on in CFLAGS in your envc sometimes
when you need to double-check but dont have ti on ALL the time as
otherwise REAL warnings hide int he noise. as per e-devel discussion
this warning is at best of dubious value - i.e. very little, but it
does sometimes find something, so then let's SOMETIMEs turn it on and
not all the time.

y2k warnings are not useful for us. it's all about DISPLAy of time and
so w'ere fine.

and we use strings in config for some formats which is how it's meant
to work so these warnings are not really useful for us - at least for
now, so also turn it off.
This commit is contained in:
Carsten Haitzler 2016-12-28 20:11:49 +09:00
parent cc21b2a046
commit 210670c6a6
1 changed files with 3 additions and 2 deletions

View File

@ -1038,12 +1038,13 @@ m4_ifdef([v_rev],
EFL_COMPILER_FLAG([-W])
EFL_COMPILER_FLAG([-Wpointer-arith])
EFL_COMPILER_FLAG([-Wshadow])
EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
EFL_COMPILER_FLAG([-Wfloat-equal])
EFL_COMPILER_FLAG([-Wuninitialized])
EFL_COMPILER_FLAG([-Wundef])
EFL_COMPILER_FLAG([-Wcast-align])
EFL_COMPILER_FLAG([-Wformat=2])
EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
EFL_COMPILER_FLAG([-Wno-format-y2k])
EFL_COMPILER_FLAG([-Wno-format-nonliteral])
])
SUID_CFLAGS=