Changeset 2116


Ignore:
Timestamp:
Mar 5, 2011 6:25:24 AM (9 years ago)
Author:
stefan
Message:
  • change default subversion number to 9999 if not available, so it means it's a development version that is larger than everything existing so far
  • add -Wno-long-long to warning flags for gnu-like C/C++ compiler
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2114 r2116  
    8888  [coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`]
    8989  [coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`]
    90   if test "x$coin_majorver" = x ; then coin_majorver=-1 ; fi
    91   if test "x$coin_minorver" = x ; then coin_minorver=-1 ; fi
    92   if test "x$coin_releasever" = x ; then coin_releasever=-1 ; fi
     90  if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi
     91  if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi
     92  if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi
    9393  AC_DEFINE_UNQUOTED(m4_toupper($1_VERSION_MAJOR),   [$coin_majorver],   [Major Version number of project])
    9494  AC_DEFINE_UNQUOTED(m4_toupper($1_VERSION_MINOR),   [$coin_minorver],   [Minor Version number of project])
     
    396396        coin_add_cxxflags="-pipe"
    397397        coin_dbg_cxxflags="-g"
    398         coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"
     398        coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long"
    399399        case $build in
    400400          *-darwin*)
     
    794794        coin_add_cflags="-pipe"
    795795        coin_dbg_cflags="-g"
    796         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     796        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    797797        case $build in
    798798          *-darwin*)
Note: See TracChangeset for help on using the changeset viewer.