Can't compile happy + ghc with clang's CPP
|Reported by:||maxs||Owned by:|
|Keywords:||happy clang cpp||Cc:||lukexi@…, kazu@…|
|Operating System:||MacOS X||Architecture:||Unknown/Multiple|
|Type of failure:||Building GHC failed||Test Case:|
|Related Tickets:||Differential Revisions:|
On OS X MtnLion with Xcode 5:
Compiling GHC fails early on because the GenericTemate outputted by happy is syntactically invalid. It is invalid because of tabs inserted into the template that cause the functions to have syntax / indenting errors. I attempted to install happy to patch it, but happy will not compile either because of the tabs.
I think clang's CPP is inserting tabs into lines with > 8 spaces of indentation.
Also the comment lines in the template of this form are invalid for clang and cause it to fail.
# 5 comment
Change History (17)
comment:12 in reply to: ↑ 11 Changed 20 months ago by maxs
comment:16 Changed 19 months ago by carter
- Resolution set to fixed
- Status changed from new to closed