
13 Jan
2014
13 Jan
'14
8:13 a.m.
On 2014-01-13 09:09, Anatoly Yakovenko wrote:
src/Data/Binary/Get.hs:423:3:
error: invalid preprocessing directive
#-}
^
src/Data/Binary/Get.hs:511:53:
warning: missing terminating ' character [-Winvalid-pp-token]
-- host order, host endian form, for the machine you're on. On a 64 bit
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 http://www.haskell.org/platform/mac.html In the 'Xcode 5 ^ OS X 10.9 (Mavericks' section. -- Frerich Raabe - raabe@froglogic.com www.froglogic.com - Multi-Platform GUI Testing