KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q42027: Ambiguous Switch /PAC with QuickC 2.00 Linker

Article: Q42027
Product(s): See article
Version(s): 4.06
Operating System(s): MS-DOS
Keyword(s): ENDUSER | s_quickc b_quickbas docerr | mspl13_basic
Last Modified: 22-JAN-1990

Using the /PAC switch with LINK Version 4.06 results in the
following error:

   fatal error L1001: PAC : option name ambiguous

This same option works correctly on Versions 3.65 and 5.01.21, and is
documented as being a valid shorthand name for /PACKCODE on Page 131
of the "QuickC Tool Kit."

The problem is due to a conflict with an option that is not documented
in the Tool Kit, but is displayed when LINK is invoked with /HELP. The
option that causes the ambiguity is /PACKDATA, which causes data
segments to be combined.

The shortest version of /PACKCODE that can be used is /PACKC.
Similarly, /PACKD is the shortest version of /PACKDATA that can be
used.

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.