Q42775: QuickC 2.00 Maximum Identifier Length Is 30 Characters
Article: Q42775
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist2.00 docerr | mspl13_c
Last Modified: 31-MAY-1989
Contrary to what is stated on Page 24 of the "Microsoft QuickC
Language Reference" manual, QuickC Version 2.00 will truncate
identifiers of 31 characters or more to a length of 30 characters.
QuickC 1.01 and C 5.10 properly truncate identifiers to a length of 31
characters. The incorrect truncation performed by QuickC 2.00 results
in the following linker error when linking with .OBJ files or
libraries in which referenced symbols have names of 31 characters or
more:
L2029: Unresolved externals:
This may also be the case with code compiled with other versions of
the Microsoft C compiler. Multiple definition errors may also result
if identifiers with the first 30 characters in common differ only from
the 31st character onward.
Microsoft has confirmed this to be a problem in QuickC Version 2.00.
We are researching this problem and will post new information as it
becomes available.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.