haskell / c2hs

c2hs is a pre-processor for Haskell FFI bindings to C libraries
http://hackage.haskell.org/package/c2hs
Other
198 stars 50 forks source link

Syntax error ! The symbol `v' does not fit here. (building OpenCL) #167

Open YellowOnion opened 8 years ago

YellowOnion commented 8 years ago
    C:/Users/Daniel/AppData/Local/Programs/stack/x86_64-windows/ghc-7.10.3/mingw/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:828: (column 44) [ERROR]  >>> Syntax error !
      The symbol `v' does not fit here.
acowley commented 8 years ago

I fixed what might be a similar issue with building the OpenCL package on OS X. You can try out my branch of language-c to see if it helps. You will need to rebuild c2hs as well (i.e. stack build c2hs) after adding my language-c update to your list of packages.