mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
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:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user