Next: Options for fine tuning Details in the Output Code, Previous: Options that affect Interpretation of the Input File, Up: Invoking gperf [Contents][Index]
These options are also available as declarations in the input file (see Gperf Declarations).
Instructs gperf to generate code in the language specified by the
option’s argument. Languages handled are currently:
Old-style K&R C. This language is understood by old-style C compilers and ANSI C compilers, but ANSI C compilers may flag warnings (or even errors) because of lacking ‘const’.
Common C. This language is understood by ANSI C compilers, and also by
old-style C compilers, provided that you #define const to empty
for compilers which don’t know about this keyword.
ANSI C. This language is understood by ANSI C compilers and C++ compilers.
C++. This language is understood by C++ compilers.
The default is ANSI-C.
This option is supported for compatibility with previous releases of
gperf. It does not do anything.
This option is supported for compatibility with previous releases of
gperf. It does not do anything.