diff options
author | Austin Seipp <aseipp@pobox.com> | 2013-06-17 06:12:08 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2013-06-18 21:26:21 -0500 |
commit | 7b0695a887c13a431f898d89938e127faa3f4585 (patch) | |
tree | 96ebd63f7473fc8de25c6c3d831993bd11d1e1dd /compiler/codeGen | |
parent | 73991d61642a3a7dc1305bfac773ee3f59920d09 (diff) | |
download | haskell-7b0695a887c13a431f898d89938e127faa3f4585.tar.gz |
Use assembler-with-cpp mode when running CPP.
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: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions