Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Matthew Pickering's avatar
    4e6c8019
    Always define __GLASGOW_HASKELL_PATCHLEVEL1/2__ macros · 4e6c8019
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    As #21076 reports if you are using `-Wcpp-undef` then you get warnings
    when using the `MIN_VERSION_GLASGOW_HASKELL` macro because
    __GLASGOW_HASKELL_PATCHLEVEL2__ is very rarely explicitliy set (as
    version numbers are not 4 components long).
    
    This macro was introduced in 3549c952
    and it seems the bug has existed ever since.
    
    Fixes #21076
    4e6c8019
    History
    Always define __GLASGOW_HASKELL_PATCHLEVEL1/2__ macros
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    As #21076 reports if you are using `-Wcpp-undef` then you get warnings
    when using the `MIN_VERSION_GLASGOW_HASKELL` macro because
    __GLASGOW_HASKELL_PATCHLEVEL2__ is very rarely explicitliy set (as
    version numbers are not 4 components long).
    
    This macro was introduced in 3549c952
    and it seems the bug has existed ever since.
    
    Fixes #21076
Code owners
Assign users and groups as approvers for specific file changes. Learn more.