haskell / c2hs

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

The symbol `[' does not fit here. #288

Closed k355l3r-5yndr0m3 closed 2 months ago

k355l3r-5yndr0m3 commented 1 year ago

I have this error.

build/include/iree/base/status.h:425: (column 2) [ERROR]  >>> Syntax error !
  The symbol `[' does not fit here.

And the line that c2hs points to is this.

IREE_API_EXPORT IREE_MUST_USE_RESULT iree_status_t 

which does not contain any open bracket.