Move -Wconversion option for GCC to extra warning options (not enabled

by default, to eliminate image library errors...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2005-04-15 14:21:59 +00:00
parent 70c4cd102f
commit e4e36d8229
+2 -2
View File
@@ -756,10 +756,10 @@ if test -n "$GCC"; then
# Show all standard warnings + unused variables, conversion errors, # Show all standard warnings + unused variables, conversion errors,
# and inlining problems when compiling... # and inlining problems when compiling...
OPTIM="-Wall -Wunused -Wconversion -Wno-format-y2k $OPTIM" OPTIM="-Wall -Wunused -Wno-format-y2k $OPTIM"
# The following additional warnings are useful for tracking down problems... # The following additional warnings are useful for tracking down problems...
#OPTIM="-Wshadow $OPTIM" #OPTIM="-Wshadow -Wconversion $OPTIM"
# Set the default compiler optimizations... # Set the default compiler optimizations...
if test -z "$DEBUGFLAG"; then if test -z "$DEBUGFLAG"; then