This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc compile-time (multibyte issue)


<<Fine, but you are allowed to be tolerant in a C compiler, and it's going
to be expected in some cases.
>>

I agree that's definitely the right approach for C. Actually we may cheat
in GNAT, I can't remember :-)

Ada programs are typically written in Latin-1?

Yes that's the default character code, and for sure Europeans routinely
use the accented characters etc in the upper half.

<<Ada programs are typically written in Latin-1? GNAT and GtkAda are both
written in ASCII. It's such a pain to type Latin-1 from a US keyboard that
almost any American Ada programmer who isn't really an English teacher
use ASCII.
>>

Well ASCII is not a well defined term these days but presumably you mean
lower half (16#20# - 16#7F#). Indeed GNAT is written in this mode. GNAT
requires the use of the -gnatg switch which enforces the -gnatin flag
which only allows lower half characters in identifiers. So this is a
concious restriction to a subset. And sure, in the US, most people will
naturally restrict to this subste, since you don't need anything else
in english! But not all Ada programs are written by english speaking folks :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]