Changeset 1690 for trunk/Clp


Ignore:
Timestamp:
Mar 5, 2011 6:34:21 AM (9 years ago)
Author:
stefan
Message:

-Wno-long-long is now always set (for gnu compiler); rerun autotools

Location:
trunk/Clp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/configure

    r1688 r1690  
    17331733  coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`
    17341734  coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`
    1735   if test "x$coin_majorver" = x ; then coin_majorver=-1 ; fi
    1736   if test "x$coin_minorver" = x ; then coin_minorver=-1 ; fi
    1737   if test "x$coin_releasever" = x ; then coin_releasever=-1 ; fi
     1735  if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi
     1736  if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi
     1737  if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi
    17381738
    17391739cat >>confdefs.h <<_ACEOF
     
    28422842        coin_add_cflags="-pipe"
    28432843        coin_dbg_cflags="-g"
    2844         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2844        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    28452845        case $build in
    28462846          *-darwin*)
     
    37693769        coin_add_cxxflags="-pipe"
    37703770        coin_dbg_cxxflags="-g"
    3771         coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"
     3771        coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long"
    37723772        case $build in
    37733773          *-darwin*)
     
    2055720557#END
    2055820558}
    20559 
    20560 if test "$GXX" = "yes" ; then
    20561 case "$CXX" in
    20562    icpc* | */icpc* | icc )
    20563       ;;
    20564    *)
    20565       CXXFLAGS="$CXXFLAGS -Wno-long-long"
    20566       ;;
    20567 esac
    20568 fi
    2056920559
    2057020560#############################################################################
  • trunk/Clp/configure.ac

    r1688 r1690  
    5252# Initialize automake and libtool
    5353AC_COIN_INIT_AUTO_TOOLS
    54 
    55 if test "$GXX" = "yes" ; then
    56 case "$CXX" in
    57    icpc* | */icpc* | icc )
    58       ;;
    59    *)
    60       CXXFLAGS="$CXXFLAGS -Wno-long-long"
    61       ;;
    62 esac
    63 fi
    6454
    6555#############################################################################
Note: See TracChangeset for help on using the changeset viewer.