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:
Michael R Sweet 2005-04-13 19:40:56 +00:00
parent 0d231668e1
commit ff60e09c09
1 changed files with 1 additions and 1 deletions

View File

@ -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"