Some C header file syntax cannot be read by GemStone's CHeader class. This includes, but is not limited to, the syntax used in /usr/include/zlib.h and its include files, in recent versions of Linux. These header files cannot be processed by CHeader.
An an error such as this may be reported.
unexpected token: #'identifier' -> 'va' near line 1758 in file /usr/include/zlib.h (Error)
Using the native C preprocessor on the header files before using CHeader can avoid issues. This preprocessing is built into CHeader for versions in which this bug is fixed.
Last updated: 10/5/20