Removes unsuffixed float warnings

These warnings can only be addressed with gnu extensions.
This commit is contained in:
Dana Robinson 2020-08-07 11:50:22 -07:00
parent 51ab52ad42
commit a975a8d0eb
3 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,9 @@
# warning flag added for GCC >= 4.5
-Wstrict-overflow=5
# This warning can only be truly addressed using the gcc extension of
# using D to indicate doubles (e.g., 1.23D).
-Wno-unsuffixed-float-constants
# warning flags added for GCC >= 4.6
-Wdouble-promotion

View File

@ -5,7 +5,6 @@
# the variable is never *used* before it has been initialized?
#
-Wjump-misses-init
-Wunsuffixed-float-constants
# developer warning flag added for GCC >= 4.6
-Wsuggest-attribute=const

View File

@ -1,6 +1,5 @@
# no-developer warning flag added for GCC >= 4.5
-Wno-jump-misses-init
-Wno-unsuffixed-float-constants
# no-developer warning flag added for GCC >= 4.6
-Wno-suggest-attribute=const