mirror of https://github.com/fltk/fltk
Add -Wno-format-y2k option to eliminate Y2k warnings - ignored by some
versions of GCC, but at least the newer versions won't give us that warning about our use of strftime()... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
0d231668e1
commit
ff60e09c09
|
@ -756,7 +756,7 @@ if test -n "$GCC"; then
|
|||
|
||||
# Show all standard warnings + unused variables, conversion errors,
|
||||
# and inlining problems when compiling...
|
||||
OPTIM="-Wall -Wunused -Wconversion $OPTIM"
|
||||
OPTIM="-Wall -Wunused -Wconversion -Wno-format-y2k $OPTIM"
|
||||
|
||||
# The following additional warnings are useful for tracking down problems...
|
||||
#OPTIM="-Wshadow $OPTIM"
|
||||
|
|
Loading…
Reference in New Issue