Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3714

Show
Ignore:
Timestamp:
07/06/08 12:07:01 (5 months ago)
Author:
larsivi
Message:

More versioning info when building.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/dmdinclude

    r3227 r3714  
    1212    DMDVERSION=`dmd | head -1 | cut -c 26-` 
    1313    DMDVERSIONMAJ="${DMDVERSION:0:1}" #`echo $DMDVERSION | cut -d . -f 1` 
    14     # TODO: Strip leading 0's 
    1514    DMDVERSIONMIN="${DMDVERSION:2}" #`echo $DMDVERSIOM | cut -c 3-` 
    1615    echo ">> Compiler version is $DMDVERSIONMAJ.$DMDVERSIONMIN" 
     
    3130            echo ">> Removing -inline due to bugzilla 668" 
    3231        fi 
     32 
     33        if [ "$DMDVERSIONMIN" -lt "31" ] 
     34        then 
     35            echo ">> DMD 1.031 introduced several fixes for usage of implicit" 
     36            echo " >> template functions in particular, so you should consider an" 
     37            echo " >> upgrade if you experience problems." 
     38        fi 
     39 
     40        if [ "$DMDVERSIONMIN" -gt "31" ] 
     41        then 
     42            echo ">> This version has not been tested with Tango prior to this release," 
     43            echo " >> so if you experience any problems, try reverting to DMD 1.031" 
     44            echo " >> or earlier." 
     45        fi 
     46    else 
     47        echo ">> D 2.0 not supported in this code base" 
     48        exit 1 
    3349    fi 
    3450}