bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is gperf ASCII only?


From: Bruno Haible
Subject: Re: Is gperf ASCII only?
Date: Fri, 20 Mar 2009 17:21:35 +0100
User-agent: KMail/1.9.9

Hi,

Arnold Robbins asked in
<http://lists.gnu.org/archive/html/bug-gnu-utils/2009-02/msg00031.html>:
> Will gperf-generated code work correctly if the character set
> for the identifiers is EBCDIC? 

The character set that matters for gperf is, in ISO C 99 speak, the
"execution character set" of your compilation + execution environment.
I don't know what you mean by the "character set for the identifiers" -
possibly the "source character set"?

Currently gperf emits code that will verify that the execution character set
is based on ISO-646 (ASCII or variant of it). This check has been added in
2003, and no one has reported a compilation failure due to it since then.
If someone were to report one, for a relevant platform (not a museum system),
gperf could be extended to emit code for other execution character sets
as well.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]