[Haskell-cafe] any idea why binary isn't bulding on OSX
raabe at froglogic.com
Mon Jan 13 08:13:29 UTC 2014
On 2014-01-13 09:09, Anatoly Yakovenko wrote:
> error: invalid preprocessing directive
> warning: missing terminating ' character [-Winvalid-pp-token]
> -- host order, host endian form, for the machine you're on. On a 64
Do you use OS X 10.9 (Mavericks) and/or Xcode 5 by any chance? If so,
this is a known issue. The issue is that Xcode 5 uses clang as
the C compiler, and the clang preprocessor (which ghc calls) works
slightly differently - that's what's causing the issue.
There's a workaround given on
In the 'Xcode 5 ^ OS X 10.9 (Mavericks' section.
Frerich Raabe - raabe at froglogic.com
www.froglogic.com - Multi-Platform GUI Testing
More information about the Haskell-Cafe