Closed
Description
The following syntax error happens when compiling network-2.6.3.4 on Windows https://ci.appveyor.com/project/chrisdone/intero/build/1.0.260#L34319
34318 Preprocessing library for network-2.6.3.4..
34319 Building library for network-2.6.3.4..
34320 [1 of 9] Compiling Network.Socket.ByteString.Internal ( Network\Socket\ByteString\Internal.hs, .stack-work\dist\893fbf7f\build\Network\Socket\ByteString\Internal.o )
34321 [2 of 9] Compiling Network.Socket.Types ( .stack-work\dist\893fbf7f\build\Network\Socket\Types.hs, .stack-work\dist\893fbf7f\build\Network\Socket\Types.o )
34322
34323 C:\Users\appveyor\AppData\Local\Temp\1\stack2232\network-2.6.3.4\Network\Socket\Types.hsc:764:16: error:
34324 parse error on input `CALLCONV'
34325 |
34326 764 | foreign import CALLCONV unsafe "ntohs" ntohs :: Word16 -> Word16
34327 | ^^^^^^^^
34328
34329
34330-- While building custom Setup.hs for package hspec-discover-2.4.8 using:
34331 C:\sr\setup-exe-cache\i386-windows\Cabal-simple_Z6RU0evB_2.2.0.0_ghc-8.4.1.exe --builddir=.stack-work\dist\893fbf7f build --ghc-options " -ddump-hi -ddump-to-file"
34332 Process exited with code: ExitFailure (-1073741819)
34333 Logs have been written to: C:\stack\.stack-work\logs\hspec-discover-2.4.8.log
34334
34335
I suppose that calling convention syntax isn't allowed on Windows?
Metadata
Metadata
Assignees
Labels
No labels