Skip to content
  • Austin Seipp's avatar
    Use assembler-with-cpp mode when running CPP. · 7b0695a8
    Austin Seipp authored
    
    
    This is needed because Clang is very strict about C99 macro rules, which
    dictate that '#' in a body must have a token immediately following it for
    string-ification. In practice we break this all the time, because we do
    very weird stuff like:
    
        #define FOOBAR(xyz) \
        {-# SOME PRAGMA #-} \
        baz :: (xyz) \
        baz = ...
    
    where the leading '#' in in the macro body clearly breaks this rule.
    
    Signed-off-by: default avatarAustin Seipp <aseipp@pobox.com>
    7b0695a8