[GHC] #6023: cpp symbol __GLASGOW_HASKELL__ doesn't reflect version number

GHC cvs-ghc at haskell.org
Fri Apr 20 04:02:15 CEST 2012


#6023: cpp symbol __GLASGOW_HASKELL__ doesn't reflect version number
---------------------------------+------------------------------------------
    Reporter:  josef             |        Owner:                  
        Type:  bug               |       Status:  closed          
    Priority:  normal            |    Component:  Compiler        
     Version:  7.4.1             |   Resolution:  invalid         
    Keywords:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown    
    Testcase:                    |    Blockedby:                  
    Blocking:                    |      Related:                  
---------------------------------+------------------------------------------
Changes (by dterei):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 This is correct. The GLASGOW_HASKELL variable reflects the major & minor
 number, it does not include the revision number.

 e.g GHC is versioned in the standard three number system of
 `major.minor.revision`.

 {{{
 6.12.3 => 612
 7.0.3 => 700
 7.2.1 => 702
 7.2.2 => 702
 7.4.1 => 704
 ..
 7.10.2 => 710
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6023#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list