Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Syntax error ! The symbol `;' does not fit here" while parsing /usr/include/bits/floatn-common.h:214 #294

Open
Kleidukos opened this issue May 13, 2024 · 1 comment

Comments

@Kleidukos
Copy link
Member

Steps to reproduce:

$ cabal unpack hw-kafka-client
$ CC=clang CXX=clang++ ghcup install ghc -u 'https://downloads.haskell.org/~ghc/9.6.4/ghc-9.6.4-x86_64-fedora33-linux.tar.xz' 9.6.4-clang
$ cd hw-kafka-client-5.3.0
$ cabal build -w ghc-9.6.4-clang
…
c2hs: C header contains errors:

/usr/include/bits/floatn-common.h:214: (column 23) [ERROR]  >>> Syntax error !
  The symbol `;' does not fit here.

/home/hecate/.cabal/store/ghc-9.6.4-clang/c2hs-0.28.8-e-c2hs-e6b23486e95b5cd2831002c226c1ecaa05c3ede610b3f43ddb3632da7dc0dc25/bin/c2hs

c2hs version: 0.28.8
GHC version: 9.6.4 with CC=clang

@Kleidukos
Copy link
Member Author

cc @deech this reminds me of #192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant