view admin/notes/cpp @ 89799:694e157b2143

(list-character-sets): Fix the first line message. (sort-listed-character-sets): Adjusted for the change of list-characters-sets-1. (list-character-sets-1): List supplementary character sets in a different section. (list-charset-chars): Validate charset at early stage.
author Kenichi Handa <handa@m17n.org>
date Thu, 05 Feb 2004 04:34:22 +0000
parents 375f2633d815
children 68c22ea6027c
line wrap: on
line source

ttn 2003-04-09

we use a C preprocesor not only in the normal compilation of .c files
into object files, but also for creating

	src/Makefile
	lib-src/Makefile

(delimited by comment "start of cpp stuff").  some cpp implementations
insert whitespace in between tokens, which explains the "$(dot)$(dot)"
and "UNEXEC_ALIAS" workarounds for unixoid systems and the bundled
tradcpp/ for vms.  [NOTE: tradcpp/ not yet checked in.]

during makefile creation, the preprocessor symbol NOT_C_CODE is defined.
this should not be defined for normal .c file compilation.

there has been discussion on eliminating this use of cpp and relying
solely on autoconf processing.  rms says to leave it be.