Mercurial > hg > index.cgi
view docs/lwcc.txt @ 215:5330ba70836a
Fix undefined symbol error with pragma nosymbolcase
Made symbol tree lookup handle case sensitivity correctly. It is not
sufficient to switch which of strcmp and strcasecmp is used to do the
lookups. Instead, one must use strcasecmp all the way until a match and then
use additional sorting once a match is achieved, if relevant. In this case,
a simple linked list of symbols that differ only in case since this is not
expected to be a common case.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 10 Jun 2012 13:29:23 -0600 |
parents | 4e12d881df85 |
children |
line wrap: on
line source
lwcc is based on the PCC compiler code. However, the code has been substantially modified to elminate autoconf, automake, and support for targets not supported by lwtools. In addition, many parts have been substantially rewritten to match the lwtools code style or generally improve readability. Some source files are substantially similar to the same files from PCC and retain the original PCC license. Others, containing original or rewritten code are licensed under the same license as the rest of lwtools.