• Oleg Grenrus's avatar
    cabal check: cpp-options allows only -D and -U options · a2f43f3e
    Oleg Grenrus authored
    Before:
    
    130113 files processed
    7304 have lexer/parser warnings
    332 build impossible
    9742 build warning
    49779 build dist suspicious
    38666 build dist suspicious warning
    11834 build dist inexcusable
    
    After:
    
    130113 files processed
    7304 have lexer/parser warnings
    332 build impossible
    10063 build warning
    49779 build dist suspicious
    38666 build dist suspicious warning
    11834 build dist inexcusable
    
    i.e. 321 build warnings on all Hackage
    
    Examples:
    
    NO_DEBUG_MODE                       -- forgotten -D?
    -traditional                        -- doesn't work, nor needed
    -fallow-undecidable-instances       -- wrong -options?
    -fno-exceptions
    -Wall
    -Werror
    --include=include/config.h          -- doesn't work
    -maes                               -- cpp is not C++ ?
    -mpclmul
    -mssse3
    a2f43f3e
Check.hs 98.4 KB