-
Couldn't load subscription status.
- Fork 53
Closed
Labels
Description
Bug imported from C2HS Trac
Trac ticket created: 2012-10-07T19:32:59-0700
c2hs uses GCC's preprocessor, and as a result it parses C code with GCC's default preprocessor symbols defined. Many projects rely on those preprocessor symbols to decide whether to use GCC-specific extensions, such as __attribute__ declarations. Since c2hs does not support those extensions, it should not define those preprocessor symbols. Please consider invoking the preprocessor with -U__GNUC__ -U__GNUC_MINOR__ -U__GNUC_PATCHLEVEL__ .