Hi, Actually, I rarely link with just one library. And if the two (or more) different libraries had their identifiers normalized into different forms, then no solution will be possible.
And since all these different codepoint representations of the "same" character look alike, any but the most sophisticated programmers will be defeated and just unable to link those two libraries with the same program. Cheers, - Ira McDonald High North Inc -----Original Message----- From: Maiorana, Jason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: RE: filename and normalization (was gcc identifiers) >If the C compiler does NOT do some consistent normalization, then >the actual IDENTIFIER that the linker tries to resolve will not >match and the link will fail. You are assuming that careless programmers have a mix of source code that is not self-consistent. If the convention is to use NF-C and the programmer generates a bunch of NF-D code which he tries to link to NF-C code, then a most I would say give him a warning from the compiler, then keep going. If the link fails, well, its supposed to. >To assume that some keyboard input method does the normalization >is naive. Lots of C programs are machine-generated (more and more >in these days of UML -> WSDL -> whatever language tools). Like I said, if you want to generate source compatible with other people's source, just use the convention they do. The compiler/toolset doesnt have to care about it, and its better that it doesnt. Now, on the other hand, I could imagine a tool which takes a text file, and applies an "ANYUTF8 -> C/C++_NORM_FORM" transformation on it, as a convienience for those with poor input systems. But definitly not mandatory, because you may just want to write a wacky program which has lots of non-normal forms in in on purpose, and there is no need for the compiler to contrive a failure. -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/ -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
