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.
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.