c-for-go: Parsing stdio.h fails (unexpected char)

Trying to use c-for-go, I get the following error:

processing foo.yml ⠇[ERR] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:461:16: unexpected char, expected one of [',', ';', '='] (and 3 more errors)

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

I had a similar issue, but seemed to progress by defining _POSIX_C_SOURCE which sets _DARWIN_C_LEVEL and skips the Darwin extensions.

PARSER:
  Defines:
    _POSIX_C_SOURCE: 1