home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / books / qcupdate.db < prev    next >
Encoding:
Text File  |  1991-03-01  |  200.0 KB  |  4,075 lines

  1. %@1@%%@AB@%Microsoft  QuickC  Compiler - UPDATE%@AE@%%@EH@%%@NL@%
  2.                                       %@NL@%
  3.                                       %@NL@%
  4.                                       %@NL@%
  5.                                       %@NL@%
  6.                                       %@NL@%
  7.                                       %@NL@%
  8.                                       %@NL@%
  9.  
  10. ────────────────────────────────────────────────────────────────────────────%@NL@%
  11.                  %@AB@%Microsoft (R) QuickC (R) Compiler - UPDATE%@AE@%%@NL@%
  12.                                       %@NL@%
  13.                                 %@AB@%VERSION 2.5%@AE@%%@NL@%
  14. ────────────────────────────────────────────────────────────────────────────%@NL@%
  15.                                       %@NL@%
  16.                                       %@NL@%
  17.                            MICROSOFT CORPORATION %@NL@%
  18.                                       %@NL@%
  19.                                       %@NL@%
  20. %@NL@%
  21. %@NL@%
  22. %@NL@%%@NL@%
  23. %@NL@%
  24.  
  25.  
  26. Information in this document is subject to change without notice and does
  27. not represent a commitment on the part of Microsoft Corporation. The
  28. software described in this document is furnished under a license agreement
  29. or nondisclosure agreement. The software may be used or copied only in
  30. accordance with the terms of the agreement. It is against the law to copy
  31. the software on any medium except as specifically allowed in the license or
  32. nondisclosure agreement. No part of this manual may be reproduced or trans-
  33. mitted in any form or by any means, electronic or mechanical, including
  34. photocopying and recording, for any purpose without the express written
  35. permission of Microsoft.  
  36. (C) Copyright Microsoft Corporation, 1990. All rights reserved.%@NL@%
  37. %@NL@%
  38.  
  39. Printed and bound in the United States of America.%@NL@%
  40. %@NL@%
  41.  
  42. Microsoft, MS, MS-DOS, QuickC, and CodeView are registered 
  43. trademarks of 
  44. Microsoft Corporation.%@NL@%
  45. %@NL@%
  46. %@NL@%
  47. %@NL@%
  48. Document No. SY10426-0290
  49.  
  50. %@AI@%                         %@AE@%OEM D703-2Z
  51. %@AI@%%@AE@%
  52. 10
  53.  9
  54.  8
  55.  7
  56.  6
  57.  5
  58.  4
  59.  3
  60.  2
  61.  1 
  62. %@AI@%%@AE@%%@NL@%
  63. %@NL@%
  64.  
  65. %@NL@%
  66. %@NL@%
  67. %@NL@%
  68. %@NL@%
  69. %@NL@%
  70. %@1@%%@AB@%Table of Contents%@AE@%%@EH@%%@NL@%
  71. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%%@NL@%
  72. %@NL@%
  73.  
  74. %@NL@%
  75. %@AB@%Introduction%@AE@%%@BO:        1e38@%%@NL@%
  76.      Enhancements for QuickC 2.5%@BO:        21e8@%%@NL@%
  77.      About This Book%@BO:        264e@%%@NL@%
  78.      Key to Document Conventions%@BO:        2943@%%@NL@%
  79. %@NL@%
  80. %@AB@%Chapter 1%@AE@%%@BO:        34c5@%  %@AB@%User Interface Changes%@AE@%%@NL@%
  81. %@NL@%
  82.      1.1%@BO:        3727@%   File Menu Changes%@NL@%
  83.      1.2%@BO:        3b68@%   View Menu Changes%@NL@%
  84.      1.3%@BO:        3ff1@%   Search Menu Changes%@NL@%
  85.      1.4%@BO:        4540@%   Make Menu Changes%@NL@%
  86.      1.5%@BO:        4f53@%   Debug Menu: New Quickwatch Command%@NL@%
  87.      1.6%@BO:        5a11@%   Options Menu Changes%@NL@%
  88.             1.6.1%@BO:        5f29@%    Compiler Flags Dialog-Box Changes%@NL@%
  89.             1.6.2%@BO:        641e@%    Linker Flags Dialog-Box Changes%@NL@%
  90.             1.6.3%@BO:        6767@%    Display Dialog-Box Changes%@NL@%
  91.             1.6.4%@BO:        6c6b@%    New Color Command%@NL@%
  92.      1.7%@BO:        7461@%   Help Menu Changes%@NL@%
  93. %@NL@%
  94. %@AB@%Chapter 2%@AE@%%@BO:        7737@%  %@AB@%Language Differences%@AE@%%@NL@%
  95. %@NL@%
  96.      2.1%@BO:        7b90@%   ANSI Compatibility%@NL@%
  97.             2.1.1%@BO:        7cd1@%    ANSI-Mandated New Features%@NL@%
  98.             2.1.2%@BO:        832a@%    Integer Promotion Rules%@NL@%
  99.             2.1.3%@BO:        8780@%    Defining NULL as a Pointer%@NL@%
  100.             2.1.4%@BO:        88f0@%    Shift Operators%@NL@%
  101.             2.1.5%@BO:        8c89@%    Pointers to Type Definitions%@NL@%
  102.             2.1.6%@BO:        91a0@%    Identifying Nonstandard Keywords%@NL@%
  103.             2.1.7%@BO:        95f8@%    Trigraphs%@NL@%
  104.             2.1.8%@BO:        9950@%    ANSI Nonconformance%@NL@%
  105.      2.2%@BO:        9c1c@%   New Language Keywords%@NL@%
  106.             2.2.1%@BO:        9d45@%    In-Line Assembler%@NL@%
  107.             2.2.2%@BO:        9ea9@%    Based Pointers and Objects%@NL@%
  108.             2.2.3%@BO:        a125@%    Long Double Types%@NL@%
  109.             2.2.4%@BO:        a4fd@%    The _fastcall Function Attribute (/Gr Option)%@NL@%
  110.      2.3%@BO:        b1d0@%   New Language Features%@NL@%
  111.             2.3.1%@BO:        b2ca@%    Strings and Macros%@NL@%
  112.             2.3.2%@BO:        b426@%    Tiny Memory Model (.COM Files)%@NL@%
  113.             2.3.3%@BO:        b727@%    Custom Memory Models%@NL@%
  114.             2.3.4%@BO:        c3a9@%    Omitting Names of Nested Structures and Unions%@NL@%
  115.             2.3.5%@BO:        cb61@%    Unsized Arrays as the Last Member of a Structure%@NL@%
  116.             2.3.6%@BO:        cee4@%    Improved Warnings%@NL@%
  117.             2.3.7%@BO:        d1e0@%    Macros%@NL@%
  118.      2.4%@BO:        d2b7@%   Changes and Deletions%@NL@%
  119.             2.4.1%@BO:        d3ab@%    Deleted Features%@NL@%
  120.             2.4.2%@BO:        d4b8@%    Conditional Compilation and Signed Values%@NL@%
  121.             2.4.3%@BO:        d72e@%    The const and volatile Qualifiers%@NL@%
  122.             2.4.4%@BO:        da66@%    Memory Allocation%@NL@%
  123.             2.4.5%@BO:        dc28@%    Memory Used by Command-Line Arguments%@NL@%
  124.             2.4.6%@BO:        ddc9@%    Format Specifiers in printf and scanf%@NL@%
  125.             2.4.7%@BO:        e275@%    Functions that Return Float Values%@NL@%
  126.             2.4.8%@BO:        e49c@%    The char Variable Alignment%@NL@%
  127. %@NL@%
  128. %@AB@%Chapter 3%@AE@%%@BO:        e5f4@%  %@AB@%Compiler, Linker, and Utility Changes%@AE@%%@NL@%
  129. %@NL@%
  130.      3.1%@BO:        e952@%   Compiler Options%@NL@%
  131.      3.2%@BO:        f7f2@%   Linker Options%@NL@%
  132.      3.3%@BO:        fe3f@%   LIB Options%@NL@%
  133.      3.4%@BO:        ffc4@%   NMAKE Options%@NL@%
  134. %@NL@%
  135. %@AB@%Chapter 4%@AE@%%@BO:       10256@%  %@AB@%Library Changes%@AE@%%@NL@%
  136. %@NL@%
  137.      4.1%@BO:       10432@%   Buffer-Manipulation Routines%@NL@%
  138.      4.2%@BO:       10dbb@%   Data-Conversion Routines%@NL@%
  139.      4.3%@BO:       10f42@%   Directory-Control Routines%@NL@%
  140.      4.4%@BO:       11188@%   File-Handling Routines%@NL@%
  141.      4.5%@BO:       11331@%   Graphics Routines%@NL@%
  142.      4.6%@BO:       11959@%   Stream Input and Output Routines%@NL@%
  143.      4.7%@BO:       11ad5@%   Internationalization Routines%@NL@%
  144.      4.8%@BO:       11ec8@%   Math Routines%@NL@%
  145.      4.9%@BO:       12918@%   Memory-Allocation Routines%@NL@%
  146.      4.10%@BO:       130ab@%  Process- and Environment-Control Routines%@NL@%
  147.      4.11%@BO:       13457@%  String-Manipulation Routines%@NL@%
  148. %@NL@%
  149. %@AB@%Chapter 5%@AE@%%@BO:       14174@%  %@AB@%Error-Message Reference%@AE@%%@NL@%
  150. %@NL@%
  151.      5.1%@BO:       14304@%   Compiler Errors%@NL@%
  152.             5.1.1%@BO:       144cc@%    Fatal-Error Messages%@NL@%
  153.             5.1.2%@BO:       17897@%    Compilation-Error Messages%@NL@%
  154.             5.1.3%@BO:       1d5eb@%    Warning Messages%@NL@%
  155.      5.2%@BO:       276ff@%   Command-Line Error Messages%@NL@%
  156.      5.3%@BO:       28504@%   Run-Time Error Message%@NL@%
  157.      5.4%@BO:       288a7@%   QLINK Error Messages%@NL@%
  158.             5.4.1%@BO:       28e72@%    Fatal-Error Messages%@NL@%
  159.             5.4.2%@BO:       2a2b9@%    Nonfatal-Error Messages%@NL@%
  160.             5.4.3%@BO:       2bac8@%    Warning Messages%@NL@%
  161.      5.5%@BO:       2dc1c@%   NMAKE Error Messages%@NL@%
  162.             5.5.1%@BO:       2de14@%    Fatal-Error Messages%@NL@%
  163.             5.5.2%@BO:       30b30@%    Compilation-Error Message%@NL@%
  164.             5.5.3%@BO:       30f76@%    Warning Messages%@NL@%
  165. %@NL@%
  166. %@NL@%
  167. %@CR:C6A-Intro   @%%@1@%%@AB@%Introduction%@AE@%%@EH@%%@NL@%
  168. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  169. %@NL@%
  170. The Microsoft(R) QuickC(R) Compiler version 2.5 offers a variety of new
  171. features that support the latest advances in C language technology. The main
  172. enhancements in this version include language compatibility with Microsoft C
  173. version 6.0, increased ANSI compatibility, and improvements to the user
  174. interface.  %@NL@%
  175. %@NL@%
  176. ────────────────────────────────────────────────────────────────────────────%@NL@%
  177. NOTE
  178.  
  179. %@AI@%The term "DOS" refers to both the MS-DOS%@AI@%(R)%@AE@%%@AI@% and IBM Personal Computer DOS
  180. %@AI@%operating systems. The name of a specific operating system is used when it
  181. %@AI@%is necessary to note features that are unique to that system.%@AE@%%@AE@%%@NL@%
  182. ────────────────────────────────────────────────────────────────────────────%@NL@%%@NL@%
  183. %@NL@%
  184. %@NL@%
  185. %@2@%%@CR:C6A00000001 @%%@AB@%Enhancements for QuickC 2.5%@AE@%%@EH@%%@NL@%
  186. %@NL@%
  187. Here's a quick summary of the enhancements for QuickC version 2.5. The
  188. following chapters describe these features in more detail.  %@NL@%
  189. %@NL@%
  190. %@NL@%
  191.   ■   Language compatibility with Microsoft C version 6.0%@NL@%
  192. %@NL@%
  193.   ■   Increased ANSI standard C compatibility %@NL@%
  194. %@NL@%
  195.   ■   Support for the tiny memory model%@NL@%
  196. %@NL@%
  197.   ■   Enhanced graphics library%@NL@%
  198. %@NL@%
  199.   ■   New Quickwatch debugging feature%@NL@%
  200. %@NL@%
  201.   ■   Customized color window support
  202. %@NL@%
  203. ────────────────────────────────────────────────────────────────────────────%@NL@%
  204. NOTE
  205.  
  206. %@AI@%Due to the size of the expanded run-time libraries, QuickC 2.5 must be used
  207. %@AI@%with a hard disk.%@AE@%%@NL@%
  208. ────────────────────────────────────────────────────────────────────────────%@NL@%%@NL@%
  209. %@NL@%
  210. %@NL@%
  211. %@NL@%
  212. %@NL@%
  213. The QuickC Advisor has also been updated to provide information on all
  214. QuickC language, user interface, and compiler features. Consult the Advisor
  215. for detailed information on any of the features mentioned in this book.  %@NL@%
  216. %@NL@%
  217. %@NL@%
  218. %@2@%%@CR:C6A00000002 @%%@AB@%About This Book%@AE@%%@EH@%%@NL@%
  219. %@NL@%
  220. This book is divided into five chapters:  %@NL@%
  221. %@NL@%
  222. %@NL@%
  223.   ■   Chapter 1, "User Interface Changes," discusses the changes in menus,
  224.       menu commands, dialog boxes, and error messages.%@NL@%
  225. %@NL@%
  226.   ■   Chapter 2, "Language Differences," describes the differences between
  227.       QuickC 2.5 and QuickC 2.0.%@NL@%
  228. %@NL@%
  229.   ■   Chapter 3, "Compiler, Linker, and Utility Changes," lists the new
  230.       utility and QCL compile and link options.%@NL@%
  231. %@NL@%
  232.   ■   Chapter 4, "Library Changes," lists the new library routines and
  233.       summarizes their use.%@NL@%
  234. %@NL@%
  235.   ■   Chapter 5, "Error-Message Reference," lists the new QuickC error
  236.       messages.%@NL@%
  237. %@NL@%
  238. %@NL@%
  239. %@NL@%
  240. %@2@%%@CR:C6A00000003 @%%@AB@%Key to Document Conventions%@AE@%%@EH@%%@NL@%
  241. %@NL@%
  242. This book uses the following document conventions:  %@NL@%
  243. %@NL@%
  244. %@AB@%Example%@AE@%                           %@AB@%Description%@AE@%
  245. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  246. COPY TEST.OBJ C:                  Uppercase letters represent DOS commands
  247.                                   and file names.
  248.  
  249. %@AB@%printf%@AE@%                            Boldface letters indicate standard 
  250.                                   features of the C language: keywords, 
  251.                                   operators, and standard library 
  252.                                   functions.
  253.  
  254. %@AI@%expression%@AE@%                        Words in italics indicate placeholders 
  255.                                   for information you must supply, such as
  256.                                   a file name. Italics are also 
  257.                                   occasionally used for emphasis in the 
  258.                                   text.
  259.  
  260. %@AS@%main()%@AE@%                            This typeface is used for example 
  261. %@AS@%{%@AE@%                                 programs, program fragments, and the 
  262. %@AS@%}%@AE@%                                 names of user-defined functions and 
  263.                                   variables. It also indicates user input 
  264.                                   and screen output. %@AS@% %@AE@%
  265.  
  266. %@AB@%CL%@AE@% %@AI@%options%@AE@% «%@AI@%files...%@AE@%»             A horizontal ellipsis following an item 
  267.                                   indicates that more items having the 
  268.                                   same form may follow.
  269.  
  270. %@AS@%while( )%@AE@%%@AS@%%@AE@%                          A vertical ellipsis tells you that part 
  271. %@AS@%{%@AE@%                                 of the example program has been 
  272. %@AS@%   .%@AE@%                              intentionally omitted.
  273. %@AS@%   .%@AE@%                              
  274. %@AS@%   .%@AE@%                              
  275. %@AS@%}%@AE@%                                 
  276.  
  277. SHIFT                             Small capital letters denote names of 
  278.                                   keys on the keyboard. A plus sign ( + ) 
  279.                                   indicates a combination of keys. For 
  280.                                   example, SHIFT+F5 tells you to hold down
  281.                                   the SHIFT key while pressing the F5 key.
  282.  
  283. "array pointer"                   The first time a new term is defined, it
  284.                                   is enclosed in quotation marks. Since 
  285.                                   some knowledge of programming is assumed,
  286.                                   common terms such as memory or branch 
  287.                                   are not defined.
  288.  
  289. American National Standards       The first time an acronym appears, it is
  290. Institute (ANSI)                  spelled out.
  291.  
  292. %@NL@%
  293. %@NL@%
  294. %@NL@%
  295. %@NL@%
  296. %@NL@%
  297. %@CR:C6A00010001 @%%@1@%%@AB@%Chapter 1  User Interface Changes%@AE@%%@EH@%%@NL@%
  298. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  299. %@NL@%
  300. The changes in version 2.5 of the QuickC Compiler environment implement new
  301. features, such as the Quickwatch command, as well as improvements to
  302. existing features. This chapter describes the changes; they are grouped
  303. according to the menu in which they appear.  %@NL@%
  304. %@NL@%
  305. Remember, you can use online help to get information about all environment
  306. features, including those described in this section.  %@NL@%
  307. %@NL@%
  308. %@NL@%
  309. %@2@%%@CR:C6A00010002 @%%@AB@%1.1  File Menu Changes%@AE@%%@EH@%%@NL@%
  310. %@NL@%
  311. The following changes are found in the File menu:%@CR:C6A00010003 @%%@CR:C6A00010004 @%%@CR:C6A00010005 @%  %@NL@%
  312. %@NL@%
  313. %@AB@%Change%@AE@%                            %@AB@%Description%@AE@%
  314. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  315. Read-only file warning            If you select a read-only file with the 
  316.                                   Open command in the File menu, a dialog 
  317.                                   box informs you the file is read-only.
  318.  
  319. Closing notepad files             In QuickC 2.5, closing the Notepad 
  320.                                   window saves and frees the file. In 
  321.                                   QuickC 2.0, when you load a file in the 
  322.                                   Notepad window and then close it, the 
  323.                                   file is not freed. The file therefore 
  324.                                   cannot be loaded into the Program 
  325.                                   window.%@CR:C6A00010006 @%
  326.  
  327. %@NL@%
  328. %@2@%%@CR:C6A00010007 @%%@AB@%1.2  View Menu Changes%@AE@%%@EH@%%@NL@%
  329. %@NL@%
  330. The following change is found in the View menu:%@CR:C6A00010008 @%%@CR:C6A00010009 @%%@CR:C6A00010010 @%  %@NL@%
  331. %@NL@%
  332. %@AB@%Change%@AE@%                            %@AB@%Description%@AE@%
  333. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  334. Registers window                  The Registers window displayed with the 
  335.                                   Windows command in the View menu has 
  336.                                   been modified to display information 
  337.                                   about the math coprocessor chip and 
  338.                                   emulator. Additionally, pressing TAB 
  339.                                   moves the cursor forward between 
  340.                                   modifiable fields, while pressing 
  341.                                   SHIFT+TAB moves the cursor backward 
  342.                                   between modifiable fields. Pressing 
  343.                                   ENTER or double-clicking the Left mouse 
  344.                                   button allows you to modify a register.
  345.  
  346. %@NL@%
  347. %@2@%%@CR:C6A00010011 @%%@AB@%1.3  Search Menu Changes%@AE@%%@EH@%%@NL@%
  348. %@NL@%
  349. The following changes are found in the Search menu:%@CR:C6A00010012 @%%@CR:C6A00010013 @%%@CR:C6A00010014 @%  %@NL@%
  350. %@NL@%
  351. %@AB@%Change%@AE@%                            %@AB@%Description%@AE@%
  352. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  353. New Go to command                 The Go to... command has been added to 
  354.                                   the Search menu. This command displays a
  355.                                   dialog box into which you type a desired
  356.                                   line number. Then QuickC moves the 
  357.                                   cursor to that line.%@CR:C6A00010015 @%
  358.  
  359. Selected text shortcut key        Since the backslash key ( \ ) is not 
  360.                                   available on standard European keyboards,
  361.                                   the shortcut key for the Selected Text 
  362.                                   command has been changed from CTRL+\ to 
  363.                                   CTRL+F3. CTRL+\ is now the shortcut key 
  364.                                   for the Find command in the Search menu.
  365.                                   The effect of CTRL+\ can be modified 
  366.                                   with the MKKEY utility.
  367.  
  368.                                   
  369.  
  370. %@NL@%
  371. %@2@%%@CR:C6A00010016 @%%@AB@%1.4  Make Menu Changes%@AE@%%@EH@%%@NL@%
  372. %@NL@%
  373. The following changes are found in the Make menu:%@CR:C6A00010017 @%%@CR:C6A00010018 @%%@CR:C6A00010019 @%  %@NL@%
  374. %@NL@%
  375. %@AB@%Change%@AE@%                            %@AB@%Description%@AE@%
  376. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  377. Canceling the build process       With version 2.5, pressing ESC cancels a
  378.                                   compile, but not a link. The dialog box 
  379.                                   tells you to press CTRL+BREAK to cancel 
  380.                                   both compiling and linking. Previously, 
  381.                                   when either the Build or the Rebuild All
  382.                                   command was given, the dialog box said 
  383.                                   to press ESC to cancel compiling and 
  384.                                   linking.%@CR:C6A00010020 @%
  385.  
  386. .H files in the program list      QuickC 2.5 supports adding .H files to 
  387.                                   the program list with the Edit Program 
  388.                                   List command. QuickC treats all .C files
  389.                                   as dependents of the .H files in the 
  390.                                   list. If an include file is modified, 
  391.                                   QuickC performs a full rebuild. If you 
  392.                                   have hand-edited a makefile to encode .H
  393.                                   file dependencies, then QuickC does not 
  394.                                   display these include files as part of 
  395.                                   the program list in the Edit Program 
  396.                                   List dialog box. If QuickC rewrites the 
  397.                                   hand-edited makefile, these include-file
  398.                                   dependencies are not modified.%@CR:C6A00010021 @% %@CR:C6A00010022 @%
  399.  
  400. Alphabetical file                 File names are now displayed 
  401. display in the                    alphabetically in the program list and 
  402. program list                      in the dialog box displayed by choosing 
  403.                                   the Source command in the View menu. 
  404.                                   Consequently, names of .LIB files are 
  405.                                   displayed at the end of the list, 
  406.                                   eliminating the need to scroll over 
  407.                                   names of files that cannot be opened 
  408.                                   with the Source command.
  409.  
  410. %@NL@%
  411. %@2@%%@CR:C6A00010023 @%%@AB@%1.5  Debug Menu: New Quickwatch Command%@AE@%%@EH@%%@NL@%
  412. %@NL@%
  413. The Quickwatch command is a new feature in QuickC 2.5. It gives you a faster
  414. view of variables and expressions than does the Watch Value command. To use
  415. Quickwatch%@CR:C6A00010024 @%%@CR:C6A00010025 @%%@CR:C6A00010026 @%%@CR:C6A00010027 @%%@CR:C6A00010028 @%  %@NL@%
  416. %@NL@%
  417. %@NL@%
  418.   1.  Move the cursor to the variable you want to watch, or highlight the
  419.       expression you want to watch.%@NL@%
  420. %@NL@%
  421.   2.  Choose the Quickwatch command from the Debug menu or press SHIFT+F9%@NL@%
  422. %@NL@%
  423. %@NL@%
  424. QuickC displays a dialog box with the selected variable or expression along
  425. with the current value. See Figure 1.1.  %@NL@%
  426. %@NL@%
  427. %@AU@%(This figure may be found in the printed book.)%@AE@%%@NL@%
  428. %@NL@%
  429. Instead of placing the cursor on the variable or highlighting the expression
  430. you want to watch, you can select Quickwatch, or press SHIFT+F9, and type an
  431. expression in the text box of the dialog box.  %@NL@%
  432. %@NL@%
  433. The lower part of the Quickwatch dialog box contains the following buttons:
  434. %@NL@%
  435. %@NL@%
  436. Zoom Modify Value Evaluate Cancel Add Watch Help  %@NL@%
  437. %@NL@%
  438. The Zoom button expands or contracts an array or structure. Zoom displays
  439. the values of the array members or structure elements in the List box. To
  440. show levels of expansion in the List box, nested elements are indented one
  441. space. If the expression has already been expanded, the Zoom button
  442. contracts the items. If a variable can be expanded, it has a "+" prefix. If
  443. a variable can be contracted, it has a "-" prefix. If the expression cannot
  444. be expanded or contracted and Zoom is selected, QuickC beeps.  %@NL@%
  445. %@NL@%
  446. The Evaluate button uses the current expression in the Expression text box
  447. as the new base variable. If the expression can be expanded, the Zoom button
  448. displays items in the List box.  %@NL@%
  449. %@NL@%
  450. To further expand nested items shown in the List box, select item names with
  451. the mouse or cursor. The item names are copied to the Expression text box,
  452. and the appropriate values are displayed in the Value text box and the List
  453. box. Then you can use the Zoom button to expand or contract the nested
  454. items.  %@NL@%
  455. %@NL@%
  456. The Add Watch button adds the current expression to the Watch window. If the
  457. expression is already included in the Watch window, Add Watch has no effect.
  458. %@NL@%
  459. %@NL@%
  460. The Modify Value button changes the value of the expression to the value
  461. entered in the Value text box. When you select Modify Value, QuickC records
  462. and displays the updated value in the List box.  %@NL@%
  463. %@NL@%
  464. The Cancel button closes the Quickwatch dialog box.  %@NL@%
  465. %@NL@%
  466. The Help button displays information about using the Quickwatch dialog box.
  467. %@NL@%
  468. %@NL@%
  469. %@NL@%
  470. %@2@%%@CR:C6A00010029 @%%@AB@%1.6  Options Menu Changes%@AE@%%@EH@%%@NL@%
  471. %@NL@%
  472. The following changes are found in the Options menu:%@CR:C6A00010030 @%%@CR:C6A00010031 @%%@CR:C6A00010032 @%  %@NL@%
  473. %@NL@%
  474. %@AB@%Change%@AE@%                            %@AB@%Description%@AE@%
  475. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  476. Run/Debug command-line length     In QuickC 2.5, the Command Line text box
  477. limitation                        in the Run/Debug dialog box accepts up 
  478.                                   to 126 characters. A warning message is 
  479.                                   displayed if the length of text exceeds 
  480.                                   126 characters. QuickC 2.0 accepts up to
  481.                                   256 characters. However, only the first 
  482.                                   126 characters are used.
  483.  
  484. Compiler flags, linker flags,     Numerous changes have been made to the 
  485. and display dialog box changes    compiler flags, linker flags, and 
  486.                                   display dialog boxes. They are described
  487.                                   in the following sections.
  488.  
  489. New color command                 Enhanced options for setting colors in 
  490.                                   QuickC are described below.
  491.  
  492. %@NL@%
  493. %@3@%%@CR:C6A00010033 @%%@AB@%1.6.1  Compiler Flags Dialog-Box Changes%@AE@%%@EH@%%@NL@%
  494. %@NL@%
  495. The Compiler Flags dialog box, shown in Figure 1.2, contains the following
  496. modifications:  %@NL@%
  497. %@NL@%
  498. %@NL@%
  499.   ■   The Compiler Flags dialog box, displayed by selecting the Compiler
  500.       Flags button in the Make dialog box, has been modified to support the
  501.       tiny memory model.%@NL@%
  502. %@NL@%
  503.   ■   The Warning Level option has been changed from a set of option buttons
  504.       to a text box, and this option now supports warning levels up to 4. If
  505.       you enter an invalid warning level, QuickC displays a warning message.%@NL@%
  506. %@NL@%
  507.   ■   In QuickC version 2.5, the Full CodeView check box replaces the Line
  508.       Numbers Only option under Debug Flags in version 2.0. If Full CodeView
  509.       is checked, QuickC generates complete information on the Microsoft
  510.       CodeView(R) debugger. If the option is left unchecked, QuickC
  511.       generates line number information.%@NL@%
  512. %@NL@%
  513.   ■   Three Custom Flags text boxes have been added to the dialog box. They
  514.       allow you to specify additional Global, Debug, and Release compiler
  515.       directives. %@NL@%
  516. %@NL@%
  517. %@STUB@%      %@AU@%(This figure may be found in the printed book.)%@AE@%%@NL@%
  518. %@NL@%
  519. %@NL@%
  520. %@NL@%
  521. %@3@%%@CR:C6A00010034 @%%@AB@%1.6.2  Linker Flags Dialog-Box Changes%@AE@%%@EH@%%@NL@%
  522. %@NL@%
  523. The Linker Flags dialog box, shown in Figure 1.3, contains the following
  524. changes:%@CR:C6A00010035 @%  %@NL@%
  525. %@NL@%
  526. %@NL@%
  527.   ■   The Global Flags check boxes contain a new option called Generate .COM
  528.       File. This option uses the tiny memory model to create .COM files.%@NL@%
  529. %@NL@%
  530.   ■   A new Memory Needs text box allows you to specify the amount of memory
  531.       to allocate for a program.%@NL@%
  532. %@NL@%
  533.   ■   The new Custom Flags text box allows you to specify additional Global
  534.       linker directives, as well as those for Debug and Release versions of
  535.       the program. Enter linker directives in the appropriate text box.%@NL@%
  536. %@NL@%
  537. %@STUB@%      %@AU@%(This figure may be found in the printed book.)%@AE@%%@NL@%
  538. %@NL@%
  539. %@NL@%
  540. %@NL@%
  541. %@3@%%@CR:C6A00010036 @%%@AB@%1.6.3  Display Dialog-Box Changes%@AE@%%@EH@%%@NL@%
  542. %@NL@%
  543. The Display dialog box, shown in Figure 1.4, has been changed as follows:  %@NL@%
  544. %@NL@%
  545. %@NL@%
  546.   ■   The Save Before Build check box controls whether files are saved
  547.       before building.%@NL@%
  548. %@NL@%
  549.   ■   The Keep Tabs option controls tab settings. If the option is off, tabs
  550.       are converted to the appropriate number of spaces. Then when the file
  551.       is saved, leading spaces are converted back to tabs. If the option is
  552.       on, tabs are always treated as tabs and are never converted to spaces.
  553.       The default for this option is off, which is equivalent to the QuickC
  554.       2.0 method of handling tabs.%@CR:C6A00010037 @%%@CR:C6A00010038 @%%@NL@%
  555. %@NL@%
  556.   ■   The Show 8087 check box controls whether the 8087 registers are
  557.       displayed in the Registers window.%@NL@%
  558. %@NL@%
  559.   ■   When you check the Save Before Build check box, QuickC saves any
  560.       changes in open files before it builds the program.%@NL@%
  561. %@NL@%
  562. %@NL@%
  563. %@AU@%(This figure may be found in the printed book.)%@AE@%%@NL@%
  564. %@NL@%
  565. The Display dialog box no longer contains a color selection option. Expanded
  566. color options are now available through the Color command in the Options
  567. menu.  %@NL@%
  568. %@NL@%
  569. %@NL@%
  570. %@3@%%@CR:C6A00010039 @%%@AB@%1.6.4  New Color Command%@AE@%%@EH@%%@NL@%
  571. %@NL@%
  572. The Color command in the Options menu gives you greater control over the
  573. appearance of QuickC. Items such as menus, borders, buttons, and text within
  574. windows (such as source, errors, and registers) can all be given unique
  575. colors (see Figure 1.5).  %@NL@%
  576. %@NL@%
  577. %@AU@%(This figure may be found in the printed book.)%@AE@%%@NL@%
  578. %@NL@%
  579. Four predefined color sets are available. All four color sets can be
  580. modified.  %@NL@%
  581. %@NL@%
  582. %@AB@%Color Set%@AE@%                         %@AB@%Description%@AE@%
  583. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  584. 1                                 Defines the color set for 16-color 
  585.                                   display monitors
  586.  
  587. 2                                 Defines the color set for 8-color 
  588.                                   displays
  589.  
  590. 3                                 Specifies the color set for monochrome 
  591.                                   displays
  592.  
  593. LCD                               Defines the color set for Liquid Crystal
  594.                                   Displays
  595.  
  596. You can customize the color of a window item by selecting that item from the
  597. Item list box, then changing the values in the Foreground and Background
  598. list boxes. Changing an item's color modifies it only within the selected
  599. color set.  %@NL@%
  600. %@NL@%
  601. The Redraw button redraws the screen with the new color values. Color
  602. changes take place when the OK button is pressed.  %@NL@%
  603. %@NL@%
  604. The Default button restores the normal color values. The default colors for
  605. each set are shown in the following list:  %@NL@%
  606. %@NL@%
  607. %@AB@%Color Set%@AE@%                         %@AB@%Default%@AE@%
  608. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  609. 1                                 QuickC 2.0 #1
  610.  
  611. 2                                 QuickBasic 4.5 8-color
  612.  
  613. 3                                 QuickC 2.0 #3
  614.  
  615. LCD                               QuickC 2.0 LCD
  616.  
  617. %@NL@%
  618. %@2@%%@CR:C6A00010040 @%%@AB@%1.7  Help Menu Changes%@AE@%%@EH@%%@NL@%
  619. %@NL@%
  620. The following changes are found in the Help menu:%@CR:C6A00010041 @%%@CR:C6A00010042 @%%@CR:C6A00010043 @%  %@NL@%
  621. %@NL@%
  622. %@NL@%
  623.   ■   In QuickC 2.5, if a low memory condition exists when you try to access
  624.       online help, a dialog box appears and asks if you want to close the
  625.       current program first, thus freeing enough memory to run help.%@NL@%
  626. %@NL@%
  627.   ■   In QuickC 2.0, if there isn't enough memory to access online help,
  628.       QuickC displays an %@AS@% Out of Memory %@AE@% error. At this point, the only way
  629.       to get help information is to exit QuickC and start over again.%@NL@%
  630. %@NL@%
  631. %@NL@%
  632. %@NL@%
  633. %@NL@%
  634. %@NL@%
  635. %@NL@%
  636. %@NL@%
  637. %@CR:C6A00020001 @%%@1@%%@AB@%Chapter 2  Language Differences%@AE@%%@EH@%%@NL@%
  638. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  639. %@NL@%
  640. This chapter describes the language differences between versions 2.5 and 2.0
  641. of the QuickC Compiler. Some of the changes are required by the American
  642. National Standards Institute (ANSI) standard for the C programming language.
  643. Other changes improve or augment the existing capabilities of QuickC and
  644. make it compatible with Microsoft C version 6.0.%@CR:C6A00020002 @%  %@NL@%
  645. %@NL@%
  646. The chapter is divided into four sections:  %@NL@%
  647. %@NL@%
  648. %@NL@%
  649.   ■   ANSI Compatibility%@NL@%
  650. %@NL@%
  651.   ■   New Language Keywords%@NL@%
  652. %@NL@%
  653.   ■   New Language Features%@NL@%
  654. %@NL@%
  655.   ■   Changes and Deletions%@NL@%
  656. %@NL@%
  657. %@NL@%
  658. Many of the changes described in this chapter do not affect code written for
  659. previous versions of QuickC. In some cases, however, you may have to modify
  660. existing code before compiling with version 2.5. Refer to section 2.4,
  661. "Changes and Deletions," for revisions that may impact your program.  %@NL@%
  662. %@NL@%
  663. %@NL@%
  664. %@2@%%@CR:C6A00020003 @%%@AB@%2.1  ANSI Compatibility%@AE@%%@EH@%%@NL@%
  665. %@NL@%
  666. A number of changes have been made to the compiler to support the ANSI
  667. stan-dard. These include additions that make QuickC programs more portable
  668. and allow you to take advantage of more ANSI features.%@CR:C6A00020004 @%  %@NL@%
  669. %@NL@%
  670. %@NL@%
  671. %@3@%%@CR:C6A00020005 @%%@AB@%2.1.1  ANSI-Mandated New Features%@AE@%%@EH@%%@NL@%
  672. %@NL@%
  673. The following ANSI-mandated features are new to QuickC 2.5:  %@NL@%
  674. %@NL@%
  675. %@NL@%
  676.   ■   Both %@AB@%long %@AE@%and %@AB@%unsigned long%@AE@% values are allowed in switch expressions
  677.       and case constants. Previous versions of QuickC allow only %@AB@%char%@AE@% and
  678.       %@AB@%int%@AE@% values in this context.%@CR:C6A00020006 @%%@NL@%
  679. %@NL@%
  680.   ■   QuickC supports %@AB@%unsigned long%@AE@% decimal constants. It is now possible to
  681.       initialize %@AB@%unsigned long%@AE@% variables with values larger than %@AB@%MAX_LONG%@AE@%
  682.       using decimal (rather than hexadecimal or octal) constants.%@CR:C6A00020007 @%%@NL@%
  683. %@NL@%
  684.   ■   You can declare %@AB@%signed%@AE@% as well as %@AB@%unsigned%@AE@% bitfields. %@CR:C6A00020008 @%%@CR:C6A00020009 @%%@NL@%
  685. %@NL@%
  686.   ■   Bitfields are permitted in unions.%@CR:C6A00020010 @%%@NL@%
  687. %@NL@%
  688.   ■   Storage classes or types (or both) are now required on variable
  689.       declarations. QuickC previously assumed that declarations without a
  690.       specific type were integer declarations. An untyped declaration now
  691.       generates a warning.%@CR:C6A00020011 @%%@NL@%
  692. %@NL@%
  693.   ■   The LOCALE.H header file is new to version 2.5. It declares functions
  694.       and structures for describing conventions, such as the currency
  695.       symbol, that vary from one country to another.%@CR:C6A00020012 @%%@NL@%
  696. %@NL@%
  697.   ■   The semantics for %@AB@%volatile%@AE@% have been implemented. Previously, %@AB@%volatile%@AE@%
  698.       was only syntactically implemented.%@CR:C6A00020013 @%%@NL@%
  699. %@NL@%
  700. %@NL@%
  701. %@NL@%
  702. %@3@%%@CR:C6A00020014 @%%@AB@%2.1.2  Integer Promotion Rules%@AE@%%@EH@%%@NL@%
  703. %@NL@%
  704. The ANSI standard changes the method of evaluation of some expressions that
  705. mix signed and unsigned integers. Earlier versions of QuickC attempt to
  706. preserve an expression's unsigned nature as much as possible. Version 2.5
  707. attempts to preserve the expression's value.%@CR:C6A00020015 @%%@CR:C6A00020016 @%  %@NL@%
  708. %@NL@%
  709. In version 2.5, an %@AB@%unsigned char%@AE@% promotes to a %@AB@%signed int%@AE@%; an %@AB@%unsigned int%@AE@%
  710. promotes to a %@AB@%signed long%@AE@%.  %@NL@%
  711. %@NL@%
  712. In version 2.0, an %@AB@%unsigned char%@AE@% promotes to an %@AB@%unsigned int%@AE@%; an %@AB@%unsigned
  713. %@AB@%int%@AE@% promotes to an %@AB@%unsigned long%@AE@%.  %@NL@%
  714. %@NL@%
  715. For example:  %@NL@%
  716. %@NL@%
  717. %@AS@%  main()
  718. %@AS@%  {
  719. %@AS@%    long int li = -256L;
  720. %@AS@%    test( li );
  721. %@AS@%  }%@AE@%%@NL@%
  722. %@NL@%
  723. %@AS@%  test( long li ) 
  724. %@AS@%  {
  725. %@AS@%    if( li < 0xffff )
  726. %@AS@%       puts( "QuickC 2.5 does a signed comparison" );
  727. %@AS@%       else puts( "QuickC 2.0 does an unsigned comparison" );
  728. %@AS@%  }%@AE@%%@NL@%
  729. %@NL@%
  730. %@NL@%
  731. %@3@%%@CR:C6A00020017 @%%@AB@%2.1.3  Defining NULL as a Pointer%@AE@%%@EH@%%@NL@%
  732. %@NL@%
  733. The constant %@AB@%NULL %@AE@%is now defined as %@AS@% ((void *)0)%@AE@%. Previous versions of
  734. QuickC define %@AB@%NULL%@AE@% as 0x0000 in the small and medium models and as
  735. 0x00000000L in the compact and large models.%@CR:C6A00020018 @%%@CR:C6A00020019 @%  %@NL@%
  736. %@NL@%
  737. %@NL@%
  738. %@3@%%@CR:C6A00020020 @%%@AB@%2.1.4  Shift Operators%@AE@%%@EH@%%@NL@%
  739. %@NL@%
  740. Shift operators now give a result that is of the same type as the left
  741. operand. For example, consider the code fragment%@CR:C6A00020021 @%%@CR:C6A00020022 @%  %@NL@%
  742. %@NL@%
  743. %@AS@%  short short_int;
  744. %@AS@%  long long_int;
  745. %@AS@%  short_int = 0x0001;
  746. %@AS@%  long_int = short_int << 16L;%@AE@%%@NL@%
  747. %@NL@%
  748. To adhere to the ANSI standard, QuickC 2.5 maintains the size of the left
  749. operand. The variable %@AS@% short_int %@AE@% has 16 bits. Shifting left 16 times
  750. produces a value of 0, which is then assigned to %@AS@% long_int%@AE@%.  %@NL@%
  751. %@NL@%
  752. QuickC previously yielded a result that was the size of the "widest" (or
  753. largest) of the two values. In the example above, the short value is
  754. automatically cast to a long because 16L is long. The value assigned to %@AS@%
  755. %@AS@%long_int %@AE@% is 0x00010000L in QuickC 2.0.  %@NL@%
  756. %@NL@%
  757. %@NL@%
  758. %@3@%%@CR:C6A00020023 @%%@AB@%2.1.5  Pointers to Type Definitions%@AE@%%@EH@%%@NL@%
  759. %@NL@%
  760. The rules for handling pointers to type definitions have changed subtly. For
  761. example, QuickC 2.5 interprets%@CR:C6A00020024 @%%@CR:C6A00020025 @%  %@NL@%
  762. %@NL@%
  763. %@AS@%  typedef int far f_int;
  764. %@AS@%  f_int *fp_i;%@AE@%%@NL@%
  765. %@NL@%
  766. as being equivalent to  %@NL@%
  767. %@NL@%
  768. %@AS@%  int far *fp_i;%@AE@%%@NL@%
  769. %@NL@%
  770. which means %@AS@% fp_i %@AE@% is a near variable that is a far pointer to an integer.
  771. The address of the integer contains 32 bits. The size of the address of %@AS@%
  772. %@AS@%fp_i %@AE@% is memory model dependent. %@AS@%  %@AE@%%@NL@%
  773. %@NL@%
  774. QuickC 2.0 interprets the declaration as  %@NL@%
  775. %@NL@%
  776. %@AS@%  int *far fp_i;%@AE@%%@NL@%
  777. %@NL@%
  778. where %@AS@% fp_i %@AE@% is a far variable that is a near pointer to an integer. The
  779. address of %@AS@% fp_i %@AE@% is 32 bits. The size of the integer's address is
  780. indeterminate.  %@NL@%
  781. %@NL@%
  782. This change in handling pointers to type definitions affects type
  783. definitions containing %@AB@%_near%@AE@%, %@AB@%_far%@AE@%, %@AB@%_based%@AE@%, and other modifiers. Although
  784. these are Microsoft-specific keywords, their new behavior is consistent with
  785. the ANSI standard's requirements for the %@AB@%const %@AE@%and %@AB@%volatile %@AE@%keywords.  %@NL@%
  786. %@NL@%
  787. %@NL@%
  788. %@3@%%@CR:C6A00020026 @%%@AB@%2.1.6  Identifying Nonstandard Keywords%@AE@%%@EH@%%@NL@%
  789. %@NL@%
  790. The following modifiers are specific to QuickC; they are not part of the
  791. ANSI standard. To identify these implementation-defined keywords as
  792. non-ANSI, an initial underscore has been added.%@CR:C6A00020027 @%%@CR:C6A00020028 @%  %@NL@%
  793. %@NL@%
  794. %@AB@%QuickC 2.5 Keyword%@AE@%                %@AB@%QuickC 2.0 Keyword%@AE@%
  795. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  796. %@AB@%_far%@AE@%                              %@AB@%far%@AE@%
  797.  
  798. %@AB@%_huge%@AE@%                             %@AB@%huge%@AE@%
  799.  
  800. %@AB@%_near%@AE@%                             %@AB@%near%@AE@%
  801.  
  802. %@AB@%_cdecl%@AE@%                            %@AB@%cdecl%@AE@%
  803.  
  804. %@AB@%_fortran%@AE@%                          %@AB@%fortran%@AE@%
  805.  
  806. %@AB@%_interrupt%@AE@%                        %@AB@%interrupt%@AE@%
  807.  
  808. %@AB@%_pascal%@AE@%                           %@AB@%pascal%@AE@%
  809.  
  810. The compiler still accepts the obsolescent versions of these keywords,
  811. unless you use the /Za (disable extensions) option.  %@NL@%
  812. %@NL@%
  813. %@NL@%
  814. %@3@%%@CR:C6A00020029 @%%@AB@%2.1.7  Trigraphs%@AE@%%@EH@%%@NL@%
  815. %@NL@%
  816. To maintain ANSI compatibility with and portability to other systems, QuickC
  817. supports the trigraphs listed below. The compiler interprets each sequence
  818. in the left column as equivalent to the character shown in the right column.%@CR:C6A00020030 @%%@CR:C6A00020031 @%
  819. %@NL@%
  820. %@NL@%
  821. %@AB@%Trigraph%@AE@%                          %@AB@%Character%@AE@%
  822. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  823. ??=                               #
  824.  
  825. ??(                               [
  826.  
  827. ??/                               \
  828.  
  829. ??)                               ]
  830.  
  831. ??'                               ^
  832.  
  833. ??<                               {
  834.  
  835. ??!                               |
  836.  
  837. ??>                               }
  838.  
  839. ??-                               ~
  840.  
  841. %@NL@%
  842. %@3@%%@CR:C6A00020032 @%%@AB@%2.1.8  ANSI Nonconformance%@AE@%%@EH@%%@NL@%
  843. %@NL@%
  844. Areas in which QuickC version 2.5 does not follow the ANSI standard include
  845. the following:%@CR:C6A00020033 @%  %@NL@%
  846. %@NL@%
  847. %@NL@%
  848.   ■   QuickC does not support multibyte characters, wide-character constants
  849.       and string constants comprising wide characters, and the related
  850.       library functions and types.%@NL@%
  851. %@NL@%
  852.   ■   QuickC contains some extended keywords (such as %@AB@%_near%@AE@% and %@AB@%_far%@AE@%),
  853.       non-ANSI macros and types in header files, and extended library
  854.       function names (such as %@AB@%read %@AE@%and %@AB@%write%@AE@%) that exceed ANSI name-space
  855.       maximums.%@NL@%
  856. %@NL@%
  857. %@NL@%
  858. %@NL@%
  859. %@2@%%@CR:C6A00020034 @%%@AB@%2.2  New Language Keywords%@AE@%%@EH@%%@NL@%
  860. %@NL@%
  861. This section describes keywords that do not exist in previous versions of
  862. QuickC. Details about the use of these keywords can be found in the online
  863. help.%@CR:C6A00020035 @%%@CR:C6A00020036 @%  %@NL@%
  864. %@NL@%
  865. %@NL@%
  866. %@3@%%@CR:C6A00020037 @%%@AB@%2.2.1  In-Line Assembler%@AE@%%@EH@%%@NL@%
  867. %@NL@%
  868. A new pseudoinstruction, %@AB@%_emit%@AE@%, has been added for use with the in-line
  869. assembler. This pseudoinstruction allows you to define a single immediate
  870. byte at the current location in the current text segment.%@CR:C6A00020038 @%%@CR:C6A00020039 @%  %@NL@%
  871. %@NL@%
  872. %@NL@%
  873. %@3@%%@CR:C6A00020040 @%%@AB@%2.2.2  Based Pointers and Objects%@AE@%%@EH@%%@NL@%
  874. %@NL@%
  875. QuickC 2.5 supports the following new keywords and operators: %@AB@%_based%@AE@%,
  876. %@AB@%_segment%@AE@%, %@AB@%_segname%@AE@%, and %@AB@%:>%@AE@%. They are used to declare and manipulate based
  877. objects.%@CR:C6A00020041 @%%@CR:C6A00020042 @%%@CR:C6A00020043 @%%@CR:C6A00020044 @%  %@NL@%
  878. %@NL@%
  879. Based object support is included in QuickC 2.5 for the sake of compatibility
  880. with Microsoft C version 6.0. Refer to Chapter 2, "Managing Memory," in %@AI@%
  881. %@AI@%Microsoft C Advanced Programming Techniques%@AE@% for further details.  %@NL@%
  882. %@NL@%
  883. %@NL@%
  884. %@3@%%@CR:C6A00020045 @%%@AB@%2.2.3  Long Double Types%@AE@%%@EH@%%@NL@%
  885. %@NL@%
  886. Because the 80%@AI@%x%@AE@%87 family of math coprocessors supports an 80-bit
  887. floating-point type, QuickC version 2.5 stores %@AB@%long double%@AE@% variables in the
  888. 80%@AI@%x%@AE@%87 10-byte (80-bit) form.  %@NL@%
  889. %@NL@%
  890. QuickC version 2.0 recognizes %@AB@%long double%@AE@% and %@AB@%double%@AE@% as different types,
  891. with both types stored in memory as 64-bit quantities.%@CR:C6A00020046 @%  %@NL@%
  892. %@NL@%
  893. Certain library functions have been modified to handle the %@AB@%long double%@AE@% type.
  894. The %@AB@%printf%@AE@% and %@AB@%scanf%@AE@% family of functions supports %@AB@%long double%@AE@% values; their
  895. format has the %@AB@%l%@AE@% type prefix. The library contains new versions of the
  896. transcendental functions as well as intrinsic forms that accept %@AB@%long double%@AE@%
  897. arguments. The names of these functions have a trailing %@AB@%l%@AE@% (for example,
  898. %@AB@%cosl%@AE@%).  %@NL@%
  899. %@NL@%
  900. %@NL@%
  901. %@3@%%@CR:C6A00020047 @%%@AB@%2.2.4  The _fastcall Function Attribute (/Gr Option)%@AE@%%@EH@%%@NL@%
  902. %@NL@%
  903. The new %@AB@%_fastcall%@AE@% function attribute enables QuickC to pass function
  904. arguments in processor registers instead of on the stack. This ability
  905. results in faster function calls when a QuickC program is built with
  906. Microsoft C version 6.0.%@CR:C6A00020048 @%  %@NL@%
  907. %@NL@%
  908. You can define fastcall functions in two ways. Use the %@AB@%_fastcall%@AE@% function
  909. attribute to declare an individual function as fastcall:  %@NL@%
  910. %@NL@%
  911. %@AS@%  int _fastcall FastFunc( void );%@AE@%%@NL@%
  912. %@NL@%
  913. Additionally, the /Gr option enables the fastcall function-calling
  914. convention for all functions that are not explicitly prototyped with the
  915. %@AB@%_cdecl%@AE@%, %@AB@%_pascal%@AE@%, or %@AB@%_fortran %@AE@%attributes. Using /Gr on the command line
  916. causes each function in the module to compile as %@AB@%_fastcall%@AE@% unless the
  917. function is declared with a conflicting attribute, or the name of the
  918. function is %@AB@%main%@AE@%.  %@NL@%
  919. %@NL@%
  920. None of the library functions have the fastcall attribute; their arguments
  921. are passed on the stack, not in registers. If you compile with the /Gr
  922. option, you must include the correct header file for each library function
  923. or write a prototype for the function using the %@AB@%_cdecl%@AE@% attribute.  %@NL@%
  924. %@NL@%
  925. A fastcall function can receive up to three 16-bit arguments. Arguments are
  926. passed in the AX, BX, and DX registers. Fastcall arguments are passed in the
  927. registers shown below. If you pass one character argument, it is passed in
  928. the AL register. If you pass two character arguments, the second argument is
  929. passed in DL, and so on.  %@NL@%
  930. %@NL@%
  931. %@AB@%Argument Type%@AE@%                     %@AB@%Registers%@AE@%
  932. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  933. Character                         AL, DL, BL
  934.  
  935. Short integer                     AX, DX, BX
  936.  
  937. Near pointer                      BX, AX, DX
  938.  
  939. Long integer                      DX:AX
  940.  
  941. ────────────────────────────────────────────────────────────────────────────%@NL@%
  942. %@AU@%WARNING%@AE@%%@NL@%
  943. %@NL@%
  944. Future versions of QuickC may pass fastcall arguments in different
  945. registers.%@NL@%
  946. ────────────────────────────────────────────────────────────────────────────%@NL@%
  947. %@NL@%
  948. If all of the registers for a particular type have already been used, or if
  949. an argument is not one of the types listed above, it is pushed on the stack
  950. as usual. Given an argument list of types %@AB@%long%@AE@%, %@AB@%float%@AE@%, and %@AB@%short%@AE@%, QuickC
  951. passes the %@AB@%long %@AE@%in DX:AX, pushes the %@AB@%float%@AE@%, and passes the %@AB@%short %@AE@%in BX.
  952. Fastcall functions return any floating-point value on the floating-point
  953. processor stack.  %@NL@%
  954. %@NL@%
  955. The treatment of character arguments is also dependent on prototypes. If
  956. there is no prototype, the argument is promoted to %@AB@%short%@AE@%.  %@NL@%
  957. %@NL@%
  958. The %@AB@%_fastcall %@AE@%convention is not compatible with any of the following
  959. attributes: %@AB@%_interrupt%@AE@%, %@AB@%_saveregs%@AE@%, %@AB@%_export%@AE@%, %@AB@%_cdecl%@AE@%, %@AB@%_fortran%@AE@%, or %@AB@%_pascal%@AE@%.
  960. Consult online help for more information on these attributes.  %@NL@%
  961. %@NL@%
  962. %@NL@%
  963. %@2@%%@CR:C6A00020049 @%%@AB@%2.3  New Language Features%@AE@%%@EH@%%@NL@%
  964. %@NL@%
  965. A number of new language features have been implemented in version 2.5 to
  966. maintain compatibility with Microsoft C version 6.0.%@CR:C6A00020050 @%  %@NL@%
  967. %@NL@%
  968. %@NL@%
  969. %@3@%%@CR:C6A00020051 @%%@AB@%2.3.1  Strings and Macros%@AE@%%@EH@%%@NL@%
  970. %@NL@%
  971. QuickC now allows longer string literals (up to 2K) and longer macro
  972. expansions (up to 12K). In low memory conditions, the macro expansion space
  973. could be limited to 6K.%@CR:C6A00020052 @%%@CR:C6A00020053 @%%@CR:C6A00020054 @%%@CR:C6A00020055 @%  %@NL@%
  974. %@NL@%
  975. %@NL@%
  976. %@3@%%@CR:C6A00020056 @%%@AB@%2.3.2  Tiny Memory Model (.COM Files)%@AE@%%@EH@%%@NL@%
  977. %@NL@%
  978. QuickC 2.5 supports the tiny memory model, which produces .COM files rather
  979. than .EXE files. In the tiny memory model, all of your program code and data
  980. must fit in a single 64K segment.%@CR:C6A00020057 @%%@CR:C6A00020058 @%%@CR:C6A00020059 @%  %@NL@%
  981. %@NL@%
  982. The /AT option selects the tiny model. This option causes the linker to use
  983. the /NOE and /TINY options. Within the linker, /TINY turns on the
  984. /FARCALLTRANSLATION option to help eliminate far-segment relocations. If you
  985. invoke QLINK separately on your own .OBJ files, link with the CRTCOM library
  986. and make it first in the .OBJ list. The /TINY option is incompatible with
  987. the /INCREMENTAL option.  %@NL@%
  988. %@NL@%
  989. %@NL@%
  990. %@3@%%@CR:C6A00020060 @%%@AB@%2.3.3  Custom Memory Models%@AE@%%@EH@%%@NL@%
  991. %@NL@%
  992. For most programs, using one of the standard memory models is sufficient. In
  993. special cases, however, you may need to create a customized memory model.
  994. For example, you might want to create a huge-compact model that would allow
  995. huge data items but only one code segment.%@CR:C6A00020061 @%%@CR:C6A00020062 @%%@CR:C6A00020063 @%  %@NL@%
  996. %@NL@%
  997. You can create a custom memory model with the /A compiler option. /A must be
  998. followed by three letters representing the following memory-model
  999. attributes:  %@NL@%
  1000. %@NL@%
  1001. %@NL@%
  1002.   ■   Code pointer size%@NL@%
  1003. %@NL@%
  1004.   ■   Data pointer size%@NL@%
  1005. %@NL@%
  1006.   ■   Stack- and data-segment setup%@NL@%
  1007. %@NL@%
  1008. %@NL@%
  1009. Table 2.1 shows the options used for defining code pointers, data pointers,
  1010. and stack- and data-segment setup in custom memory models.  %@NL@%
  1011. %@NL@%
  1012. %@AB@%Table   %@AB@%2.1 Custom Memory Model Options%@AE@%%@AE@%
  1013.  
  1014. %@TH:  22   932 02 34 08 34 @%Attribute                         Option  Meaning                           %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%Code Addresses                    s       Near (16-bit)                                  l       Far (32-bit)Data Pointers                     n       Near (6-bit)                                  f       Far (32-bit)                                  h       Huge (32-bit normalized)Stack-and Data-Segment Setup      d       Assume SS==DS (default)                                  u       Assume SS!=DS; DS is reloaded on                                          function entry.                                  w       Assume SS!=DS; DS is not                                           reloaded on function entry.%@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%%@TE:  22   932 02 34 08 34 @%
  1015.  
  1016. You must specify all three options, but the letters can follow /A in any
  1017. order. To specify the huge-compact model mentioned earlier, for example, you
  1018. can use /Ashd, /Ahsd, or some other ordering of the following letters: s
  1019. (for near code addresses), h (for huge data pointers), and d (for the
  1020. default data- and stacksegment setup).  %@NL@%
  1021. %@NL@%
  1022. The easiest way to customize a memory model is to use a standard memory
  1023. model and modify the stack-setup option. A stack- and data-segment option
  1024. from Table 2.1 overrides the corresponding part of the standard memory-model
  1025. configuration; Table 2.2 shows the standard models' equivalents. Since /AS
  1026. is the equivalent of /Asnd, then /ASw is the equivalent of /Asnw.  %@NL@%
  1027. %@NL@%
  1028. %@AB@%Table   %@AB@%2.2 Standard Memory Model Equivalents%@AE@%%@AE@%
  1029.  
  1030. %@TH:  17   458 03 22 54 @%Standard              CustomizedMemory Model          Equivalent%@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%/AT                   none/AS                   /Asnd/AM                   /Alnd/AC                   /Asfd/AL                   /Alfd/AH                   /Alhd%@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%%@TE:  17   458 03 22 54 @%
  1031.  
  1032. %@NL@%
  1033. %@3@%%@CR:C6A00020064 @%%@AB@%2.3.4  Omitting Names of Nested Structures and Unions%@AE@%%@EH@%%@NL@%
  1034. %@NL@%
  1035. If a structure or union is nested inside another structure or union, you can
  1036. declare the inner one without using a variable name. This rule allows you to
  1037. access inner members of such nested constructs using fewer variable names.
  1038. The following example demonstrates this technique using nested structures:%@CR:C6A00020065 @%%@CR:C6A00020066 @%%@CR:C6A00020067 @%  %@NL@%
  1039. %@NL@%
  1040. %@AS@%  #include.h
  1041. %@AS@%  
  1042. %@AS@%  void main( void )
  1043. %@AS@%  {
  1044. %@AS@%   struct ours
  1045. %@AS@%   {
  1046. %@AS@%    int mine, yours;
  1047. %@AS@%   };
  1048. %@AS@%  
  1049. %@AS@%   struct mystruct
  1050. %@AS@%   {
  1051. %@AS@%    float bobber;
  1052. %@AS@%    struct ours;
  1053. %@AS@%    char name[9];
  1054. %@AS@%   } sample;
  1055. %@AS@%  
  1056. %@AS@%   sample.yours = 100;
  1057. %@AS@%   printf( "sample.yours: %i\n", sample.yours );
  1058. %@AS@%  }%@AE@%%@NL@%
  1059. %@NL@%
  1060. The example declares two structure types. The first structure type, named %@AS@%
  1061. %@AS@%ours%@AE@%, contains two %@AB@%int%@AE@% members. The second, named %@AS@% mystruct%@AE@%, contains three
  1062. members, one of which is a structure of type %@AS@% ours%@AE@%.  %@NL@%
  1063. %@NL@%
  1064. The second structure type declares its structure member using only the
  1065. structure tag %@AS@% ours%@AE@%. It does not supply a variable name after the tag:  %@NL@%
  1066. %@NL@%
  1067. %@AS@%  struct ours;%@AE@%%@NL@%
  1068. %@NL@%
  1069. Thus, subsequent parts of the program can access members of the nested
  1070. structure without specifying a name:  %@NL@%
  1071. %@NL@%
  1072. %@AS@%  sample.yours = 100;%@AE@%%@NL@%
  1073. %@NL@%
  1074. In contrast, if the nested structure had been declared using a variable
  1075. name, as in  %@NL@%
  1076. %@NL@%
  1077. %@AS@%  struct ours var_name;%@AE@%%@NL@%
  1078. %@NL@%
  1079. subsequent statements would have to use that name as well:  %@NL@%
  1080. %@NL@%
  1081. %@AS@%  sample.var_name.yours = 100;%@AE@%%@NL@%
  1082. %@NL@%
  1083. As you can see, declaring the nested structure without a variable name saves
  1084. some typing. The same rule applies to unions nested inside structures.  %@NL@%
  1085. %@NL@%
  1086. %@NL@%
  1087. %@3@%%@CR:C6A00020068 @%%@AB@%2.3.5  Unsized Arrays as the Last Member of a Structure%@AE@%%@EH@%%@NL@%
  1088. %@NL@%
  1089. QuickC now allows an unsized or zero-sized array as the last member of a
  1090. structure. The declaration of such a structure would look like this:%@CR:C6A00020069 @%%@CR:C6A00020070 @%%@CR:C6A00020071 @%  %@NL@%
  1091. %@NL@%
  1092. %@AS@%  struct var_length
  1093. %@AS@%  {
  1094. %@AS@%     <set of declarations>;
  1095. %@AS@%     <type> array[];
  1096. %@AS@%  };%@AE@%%@NL@%
  1097. %@NL@%
  1098. Unsized arrays can appear only as the last member of a structure. Structures
  1099. containing unsized array declarations can be nested within other structures
  1100. as long as no further members are declared in any enclosing structures.
  1101. Arrays of such structures are not allowed.  %@NL@%
  1102. %@NL@%
  1103. When you apply the %@AB@%sizeof %@AE@%operator to a variable of this type, or to the
  1104. type itself, QuickC assumes the array has the size zero.  %@NL@%
  1105. %@NL@%
  1106. %@NL@%
  1107. %@3@%%@CR:C6A00020072 @%%@AB@%2.3.6  Improved Warnings%@AE@%%@EH@%%@NL@%
  1108. %@NL@%
  1109. QuickC version 2.5 supports a new warning level (4), which provides even
  1110. more stringent error checking than the warning levels in version 2.0. You
  1111. can set this warning level from the command line by supplying the /W4
  1112. compiler option, or from the QuickC environment with the Compiler Flags
  1113. dialog box shown with the Make command on the Options menu.%@CR:C6A00020073 @%  %@NL@%
  1114. %@NL@%
  1115. At warning level 4, QuickC can generate the following new warnings:  %@NL@%
  1116. %@NL@%
  1117. %@NL@%
  1118.   ■   Nonportable (non-ANSI) constructs%@NL@%
  1119. %@NL@%
  1120.   ■   Undefined or implementation-defined constructs%@NL@%
  1121. %@NL@%
  1122. %@NL@%
  1123. Consult online help for more information about these warnings.  %@NL@%
  1124. %@NL@%
  1125. %@NL@%
  1126. %@3@%%@CR:C6A00020074 @%%@AB@%2.3.7  Macros%@AE@%%@EH@%%@NL@%
  1127. %@NL@%
  1128. The number of macros definable with /D options in QuickC has increased from
  1129. 20 to 30.%@CR:C6A00020075 @%%@CR:C6A00020076 @%  %@NL@%
  1130. %@NL@%
  1131. %@NL@%
  1132. %@2@%%@CR:C6A00020077 @%%@AB@%2.4  Changes and Deletions%@AE@%%@EH@%%@NL@%
  1133. %@NL@%
  1134. This section describes QuickC 2.0 features that are changed or deleted in
  1135. QuickC 2.5. Note that these changes may affect existing programs.  %@NL@%
  1136. %@NL@%
  1137. %@NL@%
  1138. %@3@%%@CR:C6A00020078 @%%@AB@%2.4.1  Deleted Features%@AE@%%@EH@%%@NL@%
  1139. %@NL@%
  1140. The %@AB@%data_seg%@AE@% pragma has been deleted.%@CR:C6A00020079 @%%@CR:C6A00020080 @%  %@NL@%
  1141. %@NL@%
  1142. The memory management routine %@AB@%sbrk%@AE@% has been deleted.  %@NL@%
  1143. %@NL@%
  1144. %@NL@%
  1145. %@3@%%@CR:C6A00020081 @%%@AB@%2.4.2  Conditional Compilation and Signed Values%@AE@%%@EH@%%@NL@%
  1146. %@NL@%
  1147. Version 2.0 of QuickC treats conditional-compilation expressions as %@AB@%signed
  1148. %@AB@%long%@AE@% values. Version 2.5 evaluates these expressions using the same rules as
  1149. expressions in C. For example, the expression%@CR:C6A00020082 @%%@CR:C6A00020083 @%%@CR:C6A00020084 @%  %@NL@%
  1150. %@NL@%
  1151. %@AS@%  #if 0xFFFFFFFFL > 1UL
  1152. %@AS@%  .
  1153. %@AS@%  .
  1154. %@AS@%  .
  1155. %@AS@%  #endif%@AE@%%@NL@%
  1156. %@NL@%
  1157. evaluates as true. It is evaluated as false in version 2.0, since the signed
  1158. value would be less than the unsigned value.  %@NL@%
  1159. %@NL@%
  1160. %@NL@%
  1161. %@3@%%@CR:C6A00020085 @%%@AB@%2.4.3  The const and volatile Qualifiers%@AE@%%@EH@%%@NL@%
  1162. %@NL@%
  1163. The %@AB@%const%@AE@% and %@AB@%volatile %@AE@%qualifiers must be placed after the type they
  1164. qualify. The declaration%@CR:C6A00020086 @%%@CR:C6A00020087 @%  %@NL@%
  1165. %@NL@%
  1166. %@AS@%  int (const *p);%@AE@%%@NL@%
  1167. %@NL@%
  1168. is now treated as a syntax error. Previous versions of QuickC accept this
  1169. construction.  %@NL@%
  1170. %@NL@%
  1171. The following declarations are legal:  %@NL@%
  1172. %@NL@%
  1173. %@AS@%  int const *p_ci;  /* pointer to constant int */
  1174. %@AS@%  int const (*p_ci); /* pointer to constant int */
  1175. %@AS@%  int *const cp_i;  /* constant pointer to int */
  1176. %@AS@%  int (*const cp_i); /* constant pointer to int */%@AE@%%@NL@%
  1177. %@NL@%
  1178. Consult online help for more information about %@AB@%const%@AE@% and %@AB@%volatile%@AE@%.  %@NL@%
  1179. %@NL@%
  1180. %@NL@%
  1181. %@3@%%@CR:C6A00020088 @%%@AB@%2.4.4  Memory Allocation%@AE@%%@EH@%%@NL@%
  1182. %@NL@%
  1183. The %@AB@%_fmalloc %@AE@%function attempts to allocate far memory. In version 2.5,
  1184. %@AB@%_fmalloc%@AE@% returns a null pointer if far memory isn't available, even if near
  1185. memory is available. In previous versions of QuickC, %@AB@%_fmalloc%@AE@% calls %@AB@%_nmalloc
  1186. %@AB@%%@AE@%if far memory is not available.%@CR:C6A00020089 @%%@CR:C6A00020090 @%  %@NL@%
  1187. %@NL@%
  1188. %@NL@%
  1189. %@3@%%@CR:C6A00020091 @%%@AB@%2.4.5  Memory Used by Command-Line Arguments%@AE@%%@EH@%%@NL@%
  1190. %@NL@%
  1191. In QuickC 2.5, the command-line argument strings are allocated through
  1192. %@AB@%malloc%@AE@%, which means they are in far memory in the compact and large memory
  1193. models. Previous versions of QuickC place the command-line argument strings
  1194. and environment strings in the near heap.%@CR:C6A00020092 @%  %@NL@%
  1195. %@NL@%
  1196. %@NL@%
  1197. %@3@%%@CR:C6A00020093 @%%@AB@%2.4.6  Format Specifiers in printf and scanf%@AE@%%@EH@%%@NL@%
  1198. %@NL@%
  1199. The %@AB@%printf%@AE@% format specifier modifiers %@AB@%N%@AE@%, %@AB@%F%@AE@%, %@AB@%h%@AE@%, and%@AB@% l%@AE@% have changed. These
  1200. specifiers are documented in online help.%@CR:C6A00020094 @%%@CR:C6A00020095 @%  %@NL@%
  1201. %@NL@%
  1202. The specifier %@AB@%%Np%@AE@% is a synonym for %@AB@%%hp%@AE@%, but the latter is preferred.
  1203. Likewise, %@AB@%%Fp%@AE@% is a synonym for %@AB@%%lp%@AE@%.  %@NL@%
  1204. %@NL@%
  1205. For %@AB@%scanf%@AE@%, the modifiers %@AB@%N%@AE@% and %@AB@%F%@AE@% refer to the distance to the object being
  1206. read in; that is, whether the pointer itself is allocated near or far. The
  1207. modifiers %@AB@%h%@AE@% and%@AB@% l%@AE@% refer to the size of the object (16-bit near pointer or
  1208. 32-bit far pointer). In these examples,  %@NL@%
  1209. %@NL@%
  1210. %@AS@%  scanf("%Nlp", n_fp);
  1211. %@AS@%  scanf("%Fhp", f_np);%@AE@%%@NL@%
  1212. %@NL@%
  1213. the first line reads an address that resides in near memory (%@AS@%N%@AE@%) but holds a
  1214. 32-bit far pointer variable (%@AS@%lp%@AE@%). The second line reads a near pointer value
  1215. (%@AS@%hp%@AE@%) into a pointer variable that resides in far memory (%@AS@%F%@AE@%).  %@NL@%
  1216. %@NL@%
  1217. %@NL@%
  1218. %@3@%%@CR:C6A00020096 @%%@AB@%2.4.7  Functions that Return Float Values%@AE@%%@EH@%%@NL@%
  1219. %@NL@%
  1220. In QuickC 2.5, a prototype or definition such as%@CR:C6A00020097 @%  %@NL@%
  1221. %@NL@%
  1222. %@AS@%  float funcname();%@AE@%%@NL@%
  1223. %@NL@%
  1224. is interpreted as %@AS@%  %@AE@%%@NL@%
  1225. %@NL@%
  1226. %@AS@%  float funcname()%@AE@%%@NL@%
  1227. %@NL@%
  1228. so the function returns a %@AB@%float%@AE@% value.  %@NL@%
  1229. %@NL@%
  1230. Whereas version 2.0 interprets it as %@AS@%  %@AE@%%@NL@%
  1231. %@NL@%
  1232. %@AS@%  double funcname()%@AE@%%@NL@%
  1233. %@NL@%
  1234. returning a %@AB@%double%@AE@% value.  %@NL@%
  1235. %@NL@%
  1236. %@NL@%
  1237. %@3@%%@CR:C6A00020098 @%%@AB@%2.4.8  The char Variable Alignment%@AE@%%@EH@%%@NL@%
  1238. %@NL@%
  1239. QuickC 2.5 does not align %@AB@%char%@AE@% variables on even addresses unless a variable
  1240. is local. Similarly, literal constant strings are not aligned as they are in
  1241. QuickC version 2.0%@CR:C6A00020099 @%  %@NL@%
  1242. %@NL@%
  1243. %@NL@%
  1244. %@NL@%
  1245. %@NL@%
  1246. %@NL@%
  1247. %@NL@%
  1248. %@CR:C6A00030001 @%%@1@%%@AB@%Chapter 3  Compiler, Linker, and Utility Changes%@AE@%%@EH@%%@NL@%
  1249. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1250. %@NL@%
  1251. The QuickC Compiler version 2.5 supports a variety of new compiler, linker,
  1252. and utility options. Most of these options provide compatibility with
  1253. Microsoft C version 6.0. Since QuickC can be used as a prototyping
  1254. environment for programs that will ultimately be compiled with Microsoft C,
  1255. the compiler supports the development of programs that run under non-DOS
  1256. operating systems. Refer to the Microsoft C version 6.0 documentation for
  1257. additional information.  %@NL@%
  1258. %@NL@%
  1259. This chapter is divided into sections alphabetically listing compiler,
  1260. linker, and utility changes. For detailed information on the options,
  1261. consult the online help.  %@NL@%
  1262. %@NL@%
  1263. %@NL@%
  1264. %@2@%%@CR:C6A00030002 @%%@AB@%3.1  Compiler Options%@AE@%%@EH@%%@NL@%
  1265. %@NL@%
  1266. The following compiler options are new to QuickC 2.5:%@CR:C6A00030003 @%  %@NL@%
  1267. %@NL@%
  1268. %@AB@%Option%@AE@%                            %@AB@%Instruction%@AE@%
  1269. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1270. /A%@AI@%xxx%@AE@%                             Use custom memory model. The %@AI@%xxx%@AE@% is a 
  1271.                                   three-letter representation of the 
  1272.                                   memory-model attributes: code pointer 
  1273.                                   size, data pointer size, and stack and 
  1274.                                   data segment setup. You must use all 
  1275.                                   three letters (in any order) following 
  1276.                                   /A. See Chapter 2, "Language 
  1277.                                   Differences," for additional information.
  1278.  
  1279. /AT                               Use tiny memory model. This option 
  1280.                                   creates a program with the .COM 
  1281.                                   extension. The program has a single 64K 
  1282.                                   segment for both code and data.
  1283.  
  1284. /G1                               Use 80186 instructions.
  1285.  
  1286. /Gd                               Use the %@AB@%_cdecl%@AE@% calling convention for 
  1287.                                   all functions in the module. See Chapter
  1288.                                   2, "Language Differences," for more 
  1289.                                   information.
  1290.  
  1291. /Ge                               Generate calls to the stack-checking 
  1292.                                   routine.
  1293.  
  1294. /Gr                               Use the %@AB@%_fastcall%@AE@% calling convention for
  1295.                                   functions not explicitly given the %@AB@%%@AE@%
  1296.                                   %@AB@%_cdecl%@AE@%, %@AB@%_pascal%@AE@%, or %@AB@%_fortran%@AE@% attribute. 
  1297.                                   See Chapter 2, "Language Differences,"  
  1298.                                   for additional information.
  1299.  
  1300. /ND%@AI@%data_segment_name%@AE@%              Name the data segment of a %@AI@%%@AE@%
  1301.                                   %@AI@%data_segment_name%@AE@% module. This option is
  1302.                                   commonly used to create and compile 
  1303.                                   modules that contain only data.
  1304.  
  1305. /nologo                           Suppress the startup banner display.
  1306.  
  1307. /V%@AI@%string%@AE@%                          Embed %@AI@%string%@AE@%, which specifies a version 
  1308.                                   number, in the object file.
  1309.  
  1310. /W%@AI@%x%@AE@%                               Use warning level %@AI@%x%@AE@%, where %@AI@%x%@AE@% is from 0 
  1311.                                   to 4.
  1312.  
  1313.                                   %@AB@%Level%@AE@%%@AB@%Effect%@AE@%
  1314. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1315.                                   0           Turns off all warnings
  1316.  
  1317.                                   1           Reports only severe errors
  1318.  
  1319.                                   2           Reports intermediate level 
  1320.                                               errors
  1321.  
  1322.                                   3           Warns about    been 
  1323.                                               functions      prototyped
  1324.                                               that have not  
  1325.  
  1326.                                   4           Reports        violations
  1327.                                               detailed       
  1328.                                               warnings and   
  1329.                                               ANSI           
  1330.  
  1331. /WX                               Treat warnings as errors.
  1332.  
  1333. %@NL@%
  1334. %@2@%%@CR:C6A00030004 @%%@AB@%3.2  Linker Options%@AE@%%@EH@%%@NL@%
  1335. %@NL@%
  1336. The following linker options are new to QuickC 2.5:%@CR:C6A00030005 @%  %@NL@%
  1337. %@NL@%
  1338. %@AB@%Option%@AE@%                            %@AB@%Instruction%@AE@%
  1339. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1340. /INC«REMENTAL»                    Prepare the program for subsequent 
  1341.                                   incremental linking with ILINK.
  1342.  
  1343. /NOL«OGO»                         Suppress the sign-on banner when QLINK 
  1344.                                   starts. This option is incompatible with
  1345.                                   the /E and /T
  1346.                                   options.
  1347.  
  1348. /NON«ULLSDOSSEG»                  Arrange segments in a specified order. 
  1349.                                   /NON is equivalent to /DO except that 
  1350.                                   /NON does not insert 16 null bytes at 
  1351.                                   the beginning of the _TEXT segment.
  1352.  
  1353. /PACKC«ODE»                       Use the /PACKC option in place of the 
  1354.                                   /PAC option.
  1355.  
  1356. /PACKD«ATA»                       Group neighboring data segments.
  1357.  
  1358. /PADC«ODE»:%@AI@%bytes%@AE@%                  Add filler %@AI@%bytes%@AE@% to the end of each code
  1359.                                   module.
  1360.  
  1361. /PADD«ATA»:%@AI@%bytes%@AE@%                  Add filler %@AI@%bytes%@AE@% to the end of each data
  1362.                                   module.
  1363.  
  1364. /T«INY»                           Use the /T (tiny) memory model in place 
  1365.                                   of the /BI (binary) option.
  1366.  
  1367. %@NL@%
  1368. %@2@%%@CR:C6A00030006 @%%@AB@%3.3  LIB Options%@AE@%%@EH@%%@NL@%
  1369. %@NL@%
  1370. The following LIB option is new to QuickC 2.5:%@CR:C6A00030007 @%  %@NL@%
  1371. %@NL@%
  1372. %@AB@%Option%@AE@%                            %@AB@%Instruction%@AE@%
  1373. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1374. /NOL«OGO»                         Suppress the sign-on banner.
  1375.  
  1376. %@NL@%
  1377. %@2@%%@CR:C6A00030008 @%%@AB@%3.4  NMAKE Options%@AE@%%@EH@%%@NL@%
  1378. %@NL@%
  1379. The following NMAKE options are new to QuickC 2.5:%@CR:C6A00030009 @%  %@NL@%
  1380. %@NL@%
  1381. %@AB@%Option%@AE@%                            %@AB@%Instruction%@AE@%
  1382. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1383. /NOLOGO                           Suppress the NMAKE sign-on banner.
  1384.  
  1385. /HELP                             Display detailed help about NMAKE 
  1386.                                   options.
  1387.  
  1388. / ?                               Display abbreviated help about NMAKE 
  1389.                                   options.
  1390.  
  1391. %@NL@%
  1392. %@NL@%
  1393. %@NL@%
  1394. %@NL@%
  1395. %@NL@%
  1396. %@CR:C6A00040001 @%%@1@%%@AB@%Chapter 4  Library Changes%@AE@%%@EH@%%@NL@%
  1397. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1398. %@NL@%
  1399. The QuickC Compiler version 2.5 incorporates over 100 new library routines
  1400. to maintain compatibility with Microsoft C version 6.0. This chapter lists
  1401. and briefly summarizes the new library routines by category. For a complete
  1402. description of each routine, refer to online help.  %@NL@%
  1403. %@NL@%
  1404. %@NL@%
  1405. %@2@%%@CR:C6A00040002 @%%@AB@%4.1  Buffer-Manipulation Routines%@AE@%%@EH@%%@NL@%
  1406. %@NL@%
  1407. Routines preceded by the %@AB@%_f%@AE@% prefix are model-independent versions. The %@AB@%_f%@AE@%
  1408. prefix indicates that these routines operate with far pointers.%@CR:C6A00040003 @%%@CR:C6A00040004 @%  %@NL@%
  1409. %@NL@%
  1410. ────────────────────────────────────────────────────────────────────────────%@NL@%
  1411. NOTE
  1412.  
  1413. %@AI@%The buffer-manipulation routines assume that the direction flag is cleared.
  1414. %@AI@%If you are using other functions with the buffer-manipulation functions, you
  1415. %@AI@%must ensure that the other functions leave the direction flag alone or
  1416. %@AI@%restore it to its original condition.%@AE@%%@NL@%
  1417. ────────────────────────────────────────────────────────────────────────────%@NL@%%@NL@%
  1418. %@NL@%
  1419. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@%
  1420. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1421. %@AB@%_fmemccpy%@AE@%                         Copies the characters from one buffer to
  1422.                                   another until a given character or a 
  1423.                                   given number of characters has been 
  1424.                                   copied
  1425.  
  1426. %@AB@%_fmemchr%@AE@%                          Returns a pointer to the first 
  1427.                                   occurrence, within a specified number of
  1428.                                   characters, of a given character in the 
  1429.                                   buffer
  1430.  
  1431. %@AB@%_fmemcmp%@AE@%                          Compares a specified number of 
  1432.                                   characters from two buffers
  1433.  
  1434. %@AB@%_fmemcpy%@AE@%                          Copies a specified number of characters 
  1435.                                   from one buffer to another
  1436.  
  1437. %@AB@%_fmemicmp%@AE@%                         Compares a specified number of 
  1438.                                   characters from two buffers without 
  1439.                                   regard to case sensitivity
  1440.  
  1441. %@AB@%_fmemmove%@AE@%                         Copies a specified number of characters 
  1442.                                   from one buffer to another
  1443.  
  1444. %@AB@%_fmemset%@AE@%                          Initializes a specified number of bytes 
  1445.                                   in the buffer with a given character
  1446.  
  1447. %@AB@%_outmem%@AE@%                           Prints text of a specified length from a
  1448.                                   memory buffer
  1449.  
  1450. %@NL@%
  1451. %@2@%%@CR:C6A00040005 @%%@AB@%4.2  Data-Conversion Routines%@AE@%%@EH@%%@NL@%
  1452. %@NL@%
  1453. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@% %@CR:C6A00040006 @%%@CR:C6A00040007 @%
  1454. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1455. %@AB@%_strtold%@AE@%                          Converts a string to a %@AB@%long double%@AE@% value
  1456.  
  1457. %@NL@%
  1458. %@2@%%@CR:C6A00040008 @%%@AB@%4.3  Directory-Control Routines%@AE@%%@EH@%%@NL@%
  1459. %@NL@%
  1460. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@% %@CR:C6A00040009 @%%@CR:C6A00040010 @%
  1461. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1462. %@AB@%_chdrive%@AE@%                          Changes the current drive
  1463.  
  1464. %@AB@%_getdcwd%@AE@%                          Gets the current working directory for 
  1465.                                   the specified drive
  1466.  
  1467. %@AB@%_getdrive%@AE@%                         Gets the current disk drive
  1468.  
  1469. %@NL@%
  1470. %@2@%%@CR:C6A00040011 @%%@AB@%4.4  File-Handling Routines%@AE@%%@EH@%%@NL@%
  1471. %@NL@%
  1472. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@%%@CR:C6A00040012 @% %@CR:C6A00040013 @%
  1473. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1474. %@AB@%_fullpath%@AE@%                         Makes an absolute path name from a 
  1475.                                   relative path name
  1476.  
  1477. %@NL@%
  1478. %@2@%%@CR:C6A00040014 @%%@AB@%4.5  Graphics Routines%@AE@%%@EH@%%@NL@%
  1479. %@NL@%
  1480. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@%%@CR:C6A00040015 @% %@CR:C6A00040016 @%
  1481. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1482. %@AB@%_getarcinfo%@AE@%                       Determines the endpoints, expressed in 
  1483.                                   viewport coordinates, of the most 
  1484.                                   recently drawn arc or pie
  1485.  
  1486. %@AB@%_getgtextvector%@AE@%                   Gets the current orientation for 
  1487.                                   font-text output
  1488.  
  1489. %@AB@%_gettextwindow%@AE@%                    Gets the current text-window boundaries
  1490.  
  1491. %@AB@%_getwritemode%@AE@%                     Gets the current logical write mode for 
  1492.                                   line drawing
  1493.  
  1494. %@AB@%_grstatus%@AE@%                         Returns the status of the most recent 
  1495.                                   graphics function call
  1496.  
  1497. %@AB@%_polygon%@AE@%,%@AB@%%@AE@%                         Draws or scan-fills a polygon
  1498. %@AB@%_polygon_w%@AE@%,%@AB@%%@AE@%                       
  1499. %@AB@%_polygon_wxy%@AE@%                      
  1500.  
  1501. %@AB@%_scrolltextwindow%@AE@%                 Scrolls the current text window up or 
  1502.                                   down
  1503.  
  1504. %@AB@%_setgtextvector%@AE@%                   Sets the current orientation for 
  1505.                                   font-text output
  1506.  
  1507. %@AB@%_setwritemode%@AE@%                     Sets the logical write mode for line 
  1508.                                   drawing
  1509.  
  1510. %@NL@%
  1511. %@2@%%@CR:C6A00040017 @%%@AB@%4.6  Stream Input and Output Routines%@AE@%%@EH@%%@NL@%
  1512. %@NL@%
  1513. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@% %@CR:C6A00040018 @% %@CR:C6A00040019 @%
  1514. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1515. %@AB@%_fsopen%@AE@%                           Opens a stream with file sharing
  1516.  
  1517. %@NL@%
  1518. %@2@%%@CR:C6A00040020 @%%@AB@%4.7  Internationalization Routines%@AE@%%@EH@%%@NL@%
  1519. %@NL@%
  1520. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@% %@CR:C6A00040021 @% %@CR:C6A00040022 @%
  1521. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1522. %@AB@%localecov%@AE@%                         Sets members of a structure to 
  1523.                                   appropriate values for formatting 
  1524.                                   numeric quantities
  1525.  
  1526. %@AB@%setlocale%@AE@%                         Selects the appropriate locale for the 
  1527.                                   program
  1528.  
  1529. %@AB@%strcoll%@AE@%                           Compares strings using locale-specific 
  1530.                                   information
  1531.  
  1532. %@AB@%strftime%@AE@%                          Formats a data and time string
  1533.  
  1534. %@AB@%strxfrm%@AE@%                           Transforms a string based on 
  1535.                                   locale-specific
  1536.                                   information
  1537.  
  1538. %@NL@%
  1539. %@2@%%@CR:C6A00040023 @%%@AB@%4.8  Math Routines%@AE@%%@EH@%%@NL@%
  1540. %@NL@%
  1541. Routines ending with %@AB@%l%@AE@% support an 80-bit data type for the corresponding
  1542. routines. These routines return a %@AB@%long double%@AE@% value.  %@NL@%
  1543. %@NL@%
  1544. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@%%@CR:C6A00040024 @% %@CR:C6A00040025 @%
  1545. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1546. %@AB@%acosl%@AE@%                             Calculates the arccosine
  1547.  
  1548. %@AB@%asinl%@AE@%                             Calculates the arcsine
  1549.  
  1550. %@AB@%atanl%@AE@%                             Calculates the arctangent from tangent
  1551.  
  1552. %@AB@%atan2l%@AE@%                            Calculates the arctangent from %@AI@%x%@AE@%, %@AI@%y%@AE@%
  1553.  
  1554. %@AB@%cabsl%@AE@%                             Finds the absolute value of a complex 
  1555.                                   number
  1556.  
  1557. %@AB@%ceill%@AE@%                             Finds the integer ceiling
  1558.  
  1559. %@AB@%cosl%@AE@%                              Calculates the cosine
  1560.  
  1561. %@AB@%coshl%@AE@%                             Calculates the hyperbolic cosine
  1562.  
  1563. %@AB@%expl%@AE@%                              Calculates the exponential function
  1564.  
  1565. %@AB@%fabsl%@AE@%                             Finds the absolute value
  1566.  
  1567. %@AB@%floorl%@AE@%                            Finds the largest integer less than or 
  1568.                                   equal to the
  1569.                                   argument
  1570.  
  1571. %@AB@%fmodl%@AE@%                             Finds the floating-point remainder
  1572.  
  1573. %@AB@%frexpl%@AE@%                            Calculates an exponential value
  1574.  
  1575. %@AB@%hypotl%@AE@%                            Calculates the hypotenuse of a right 
  1576.                                   triangle
  1577.  
  1578. %@AB@%ldexpl%@AE@%                            Converts the mantissa and exponent to a 
  1579.                                   floating-point value
  1580.  
  1581. %@AB@%logl%@AE@%                              Calculates the natural logarithm
  1582.  
  1583. %@AB@%log10l%@AE@%                            Calculates the base-10 logarithm
  1584.  
  1585. %@AB@%modfl%@AE@%                             Finds the integral and fractional parts 
  1586.                                   of the argument
  1587.  
  1588. %@AB@%powl%@AE@%                              Calculates a value raised to a power
  1589.  
  1590. %@AB@%sinl%@AE@%                              Calculates the sine
  1591.  
  1592. %@AB@%sinhl%@AE@%                             Calculates the hyperbolic sine
  1593.  
  1594. %@AB@%sqrtl%@AE@%                             Finds the square root
  1595.  
  1596. %@AB@%tanl%@AE@%                              Calculates the tangent
  1597.  
  1598. %@AB@%tanhl%@AE@%                             Calculates the hyperbolic tangent
  1599.  
  1600. %@NL@%
  1601. %@2@%%@CR:C6A00040026 @%%@AB@%4.9  Memory-Allocation Routines%@AE@%%@EH@%%@NL@%
  1602. %@NL@%
  1603. Routines beginning with %@AB@%_b%@AE@% apply to based heaps. Routines with the %@AB@%_n%@AE@% prefix
  1604. apply to near heaps. Routines beginning with %@AB@%_f%@AE@% apply to far heaps.%@CR:C6A00040027 @%%@CR:C6A00040028 @%  %@NL@%
  1605. %@NL@%
  1606. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@%
  1607. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1608. %@AB@%_bfreeseg%@AE@%                         Frees a based heap
  1609.  
  1610. %@AB@%_bheapseg%@AE@%                         Allocates a based heap
  1611.  
  1612. %@AB@%_bcalloc%@AE@%, %@AB@%_fcalloc%@AE@%, %@AB@%_ncalloc%@AE@%      Allocates storage for an array
  1613.  
  1614. %@AB@%_bexpand%@AE@%, %@AB@%_fexpand%@AE@%, %@AB@%_nexpand%@AE@%      Expands or shrinks a block of memory
  1615.  
  1616. %@AB@%_bfree%@AE@%                            Frees an allocated block
  1617.  
  1618. %@AB@%_heapadd%@AE@%, %@AB@%_bheapadd%@AE@%, %@AB@%_fheapadd%@AE@%, %@AB@%%@AE@%  Adds memory to a heap
  1619. %@AB@%_nheapadd%@AE@%                         
  1620.  
  1621. %@AB@%_bheapchk%@AE@%, %@AB@%_fheapchk%@AE@%, %@AB@%_nheapchk%@AE@%   Checks a heap for consistency
  1622.  
  1623. %@AB@%_heapmin%@AE@%,%@AB@%%@AE@%                         Releases unused memory in a heap
  1624. %@AB@%_bheapmin%@AE@%,%@AB@%%@AE@%                        
  1625. %@AB@%_fheapmin%@AE@%,%@AB@%%@AE@%                        
  1626. %@AB@%_nheapmin%@AE@%                         
  1627.  
  1628. %@AB@%_bheapset%@AE@%                         Fills free heap entries with a specified
  1629.                                   value
  1630.  
  1631. %@AB@%_bheapwalk%@AE@%                        Returns information about each entry in 
  1632.                                   a heap
  1633.  
  1634. %@AB@%_bmalloc%@AE@%                          Allocates a block of memory
  1635.  
  1636. %@AB@%_bmsize%@AE@%                           Returns the size of an allocated block
  1637.  
  1638. %@AB@%_brealloc%@AE@%, %@AB@%_frealloc%@AE@%, %@AB@%_nrealloc%@AE@%   Reallocates a block to a new size
  1639.  
  1640. %@NL@%
  1641. %@2@%%@CR:C6A00040029 @%%@AB@%4.10  Process- and Environment-Control Routines%@AE@%%@EH@%%@NL@%
  1642. %@NL@%
  1643. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@% %@CR:C6A00040030 @%%@CR:C6A00040031 @% %@CR:C6A00040032 @% %@CR:C6A00040033 @%
  1644. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1645. %@AB@%_cexit%@AE@%                            Calls functions registered by %@AB@%atexit%@AE@% and
  1646.                                   %@AB@%onexit%@AE@% (if any), then performs complete 
  1647.                                   exit-termination procedures (such as 
  1648.                                   flushing buffers) and returns control to
  1649.                                   the calling program
  1650.  
  1651. %@AB@%_c_exit%@AE@%                           Performs quick exit-termination 
  1652.                                   procedures and returns control to the 
  1653.                                   calling program
  1654.  
  1655. %@NL@%
  1656. %@2@%%@CR:C6A00040034 @%%@AB@%4.11  String-Manipulation Routines%@AE@%%@EH@%%@NL@%
  1657. %@NL@%
  1658. Routines preceded by the %@AB@%_f%@AE@% prefix are model-independent versions. The %@AB@%_f%@AE@%
  1659. prefix indicates that these routines operate with far pointers.%@CR:C6A00040035 @%%@CR:C6A00040036 @%  %@NL@%
  1660. %@NL@%
  1661. ────────────────────────────────────────────────────────────────────────────%@NL@%
  1662. NOTE
  1663.  
  1664. %@AI@%The string-manipulation routines assume that the direction flag is cleared.
  1665. %@AI@%If you are using other functions with the string-manipulation routines, you
  1666. %@AI@%must ensure that the other routines leave the direction flag alone or
  1667. %@AI@%restore it to its original condition.%@AE@%%@NL@%
  1668.  
  1669.  
  1670. ────────────────────────────────────────────────────────────────────────────%@NL@%%@NL@%
  1671. %@NL@%
  1672. %@AB@%Routine%@AE@%                           %@AB@%Effect%@AE@%
  1673. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1674. %@AB@%_fstrcat%@AE@%                          Appends one string to another
  1675.  
  1676. %@AB@%_fstrchr%@AE@%                          Finds first occurrence of a given 
  1677.                                   character in a string
  1678.  
  1679. %@AB@%_fstrcmp%@AE@%                          Compares two strings
  1680.  
  1681. %@AB@%_fstrcpy%@AE@%                          Copies one string to another
  1682.  
  1683. %@AB@%_fstrcspn%@AE@%                         Finds first occurrence in a string of a 
  1684.                                   character from a given character set 
  1685.  
  1686. %@AB@%_fstrdup%@AE@%, %@AB@%_nstrdup%@AE@%                Duplicates a string
  1687.  
  1688. %@AB@%_fstricmp%@AE@%                         Compares two strings without regard to 
  1689.                                   case
  1690.  
  1691. %@AB@%_fstrlen%@AE@%                          Finds the length of a string
  1692.  
  1693. %@AB@%_fstrlwr%@AE@%                          Converts a string to lowercase
  1694.  
  1695. %@AB@%_fstrncat%@AE@%                         Appends the characters of a string
  1696.  
  1697. %@AB@%_fstrncmp%@AE@%                         Compares the characters of two strings
  1698.  
  1699. %@AB@%_fstrncpy%@AE@%                         Copies the characters of one string to 
  1700.                                   another
  1701.  
  1702. %@AB@%_fstrnicmp%@AE@%                        Compares the characters of two strings 
  1703.                                   without regard to case
  1704.  
  1705. %@AB@%_fstrnset%@AE@%                         Sets the characters of string to a given
  1706.                                   character
  1707.  
  1708. %@AB@%_fstrpbrk%@AE@%                         Finds first occurrence of a character 
  1709.                                   from one string in another
  1710.  
  1711. %@AB@%_fstrrchr%@AE@%                         Finds last occurrence of given character
  1712.                                   in string
  1713.  
  1714. %@AB@%_fstrrev%@AE@%                          Reverses a string
  1715.  
  1716. %@AB@%_fstrset%@AE@%                          Sets all the characters of a string to a
  1717.                                   given character
  1718.  
  1719. %@AB@%_strspn%@AE@%, %@AB@%_fstrspn%@AE@%                 Finds first substring from given a 
  1720.                                   character set in string
  1721.  
  1722. %@AB@%_fstrstr%@AE@%                          Finds first occurrence of a given string
  1723.                                   in another 
  1724.  
  1725. %@AB@%_fstrtok%@AE@%                          Finds next token in a string
  1726.  
  1727. %@AB@%_fstrupr%@AE@%                          Converts a string to uppercase
  1728.  
  1729. %@NL@%
  1730. %@NL@%
  1731. %@NL@%
  1732. %@NL@%
  1733. %@NL@%
  1734. %@CR:C6A00050001 @%%@1@%%@AB@%Chapter 5  Error-Message Reference%@AE@%%@EH@%%@NL@%
  1735. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1736. %@NL@%
  1737. This chapter lists error messages that are new with the QuickC Compiler
  1738. version 2.5. Error messages common to versions 2.0 and 2.5 are documented in
  1739. the %@AI@% Microsoft QuickC Tool Kit%@AE@%.  %@NL@%
  1740. %@NL@%
  1741. %@NL@%
  1742. %@2@%%@CR:C6A00050002 @%%@AB@%5.1  Compiler Errors%@AE@%%@EH@%%@NL@%
  1743. %@NL@%
  1744. The error messages produced by the C compiler fall into three categories:%@CR:C6A00050003 @%  %@NL@%
  1745. %@NL@%
  1746. %@NL@%
  1747.   1.  Fatal-error messages%@NL@%
  1748. %@NL@%
  1749.   2.  Compilation-error messages%@NL@%
  1750. %@NL@%
  1751.   3.  Warning messages%@NL@%
  1752. %@NL@%
  1753. %@NL@%
  1754. New error messages for each category are listed below in numerical order,
  1755. with a brief explanation of each error.  %@NL@%
  1756. %@NL@%
  1757. %@NL@%
  1758. %@3@%%@CR:C6A00050004 @%%@AB@%5.1.1  Fatal-Error Messages%@AE@%%@EH@%%@NL@%
  1759. %@NL@%
  1760. Fatal-error messages indicate a severe problem, one that prevents the
  1761. compiler from processing your program any further. These messages have the
  1762. following format:  %@NL@%
  1763. %@NL@%
  1764. %@AI@%%@AE@%filename%@AS@%(%@AE@%%@AI@%line%@AS@%) : fatal error C1%@AE@%xxx%@AS@%:%@AE@% messagetext%@AE@%  %@NL@%
  1765. %@NL@%
  1766. After the compiler displays a fatal-error message, it terminates without
  1767. producing an object file or checking for further errors.%@CR:C6A00050005 @%%@CR:C6A00050006 @%%@CR:C6A00050007 @%  %@NL@%
  1768. %@NL@%
  1769. %@AB@%Number%@AE@%                            %@AB@%Fatal-Error Message%@AE@%
  1770. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  1771. %@AB@%C1005%@AE@%                             %@AB@%string too big for buffer%@AE@%
  1772.  
  1773.                                   A string in a compiler intermediate file
  1774.                                   overflowed a buffer.  
  1775.  
  1776. %@AB@%C1006%@AE@%                             %@AB@%write error on compiler intermediate %@AE@%
  1777.                                   %@AB@%file%@AE@%
  1778.  
  1779.                                   The compiler was unable to create the 
  1780.                                   intermediate files used in the 
  1781.                                   compilation process.  
  1782.  
  1783. %@AB@%C1011%@AE@%                             %@AB@%compiler limit : '%@AE@%%@AI@%identifier%@AE@%%@AB@%' : macro %@AE@%
  1784.                                   %@AB@%definition too big%@AE@%
  1785.  
  1786.                                   The macro definition was longer than 
  1787.                                   allowed.  
  1788.  
  1789.                                   Split the definition into shorter 
  1790.                                   definitions.  
  1791.  
  1792. %@AB@%C1023%@AE@%                             %@AB@%cannot open source file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  1793.  
  1794.                                   The given file either did not exist, 
  1795.                                   could not be opened, or was not found.  
  1796.  
  1797.                                   Make sure the environment settings are 
  1798.                                   valid and that the correct path name for
  1799.                                   the file is specified.  
  1800.  
  1801.                                   If this error appears without an error 
  1802.                                   message, the compiler has run out of 
  1803.                                   file handles. If in DOS, increase the 
  1804.                                   number of file handles by changing the 
  1805.                                   FILES setting CONFIG.SYS to allow a 
  1806.                                   larger number of open files. FILES=20 is
  1807.                                   the recommended setting.  
  1808.  
  1809. %@AB@%C1024%@AE@%                             %@AB@%cannot open include file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  1810.  
  1811.                                   The specified file in an %@AB@%#include%@AE@% 
  1812.                                   preprocessor directive could not be 
  1813.                                   found.  
  1814.  
  1815.                                   Make sure settings for the INCLUDE and 
  1816.                                   TMP environment variables are valid and 
  1817.                                   that the correct path name for the file 
  1818.                                   is specified.  
  1819.  
  1820.                                   If this error appears without an error 
  1821.                                   message, the compiler has run out of 
  1822.                                   file handles. If in DOS, increase the 
  1823.                                   number of file handles by changing the 
  1824.                                   FILES setting in CONFIG.SYS to allow a 
  1825.                                   larger number of open files. FILES%@AS@%=%@AE@%20 is
  1826.                                   the recommended setting.  
  1827.  
  1828. %@AB@%C1025%@AE@%                             %@AB@%compiler terminated by user%@AE@%
  1829.  
  1830.                                   The compiler was stopped by the user.  
  1831.  
  1832. %@AB@%C1026%@AE@%                             %@AB@%parser stack overflow, please simplify %@AE@%
  1833.                                   %@AB@%your program%@AE@%
  1834.  
  1835.                                   The program cannot be processed because 
  1836.                                   the space required to parse the program 
  1837.                                   causes a stack overflow in the compiler.
  1838.  
  1839.                                   Simplify the program by decreasing the 
  1840.                                   complexity of expressions. Decrease the 
  1841.                                   level of nesting in for and switch 
  1842.                                   statements by putting some of the more 
  1843.                                   deeply nested statements in separate 
  1844.                                   functions. Break up very long 
  1845.                                   expressions involving ',' operators or 
  1846.                                   function calls.  
  1847.  
  1848. %@AB@%C1027%@AE@%                             %@AB@%DGROUP data allocation exceeds 64K%@AE@%
  1849.  
  1850.                                   More than 64K of variables were 
  1851.                                   allocated to the default data segment.  
  1852.  
  1853.                                   For compact-, large-, or huge-model 
  1854.                                   programs, compile with the QCL command 
  1855.                                   and use the /Gt option to move items 
  1856.                                   into separate segments. In small- or 
  1857.                                   medium-model programs, consider 
  1858.                                   explicitly allocating some variables 
  1859.                                   outside of DGROUP by using %@AB@%_based%@AE@% or %@AB@%%@AE@%
  1860.                                   %@AB@%_far%@AE@%.  
  1861.  
  1862. %@AB@%C1033%@AE@%                             %@AB@%cannot open assembly language output %@AE@%
  1863.                                   %@AB@%file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  1864.  
  1865.                                   There are three possible causes for this
  1866.                                   error:  
  1867.  
  1868.                                   ■ The given name is not valid.
  1869.  
  1870.                                   ■ The file cannot be opened for lack of 
  1871.                                   space.
  1872.  
  1873.                                   ■ A read-only file with the given name 
  1874.                                   already exists.
  1875.  
  1876. %@AB@%C1036%@AE@%                             %@AB@%cannot open source listing file '%@AE@%%@AI@%%@AE@%
  1877.                                   %@AI@%filename%@AE@%%@AB@%'%@AE@%
  1878.  
  1879.                                   There are three possible causes for this
  1880.                                   error:  
  1881.  
  1882.                                   ■ The given name is not valid.
  1883.  
  1884.                                   ■ The file cannot be opened for lack of 
  1885.                                   space.
  1886.  
  1887.                                   ■ A read-only file with the given name 
  1888.                                   already exists.
  1889.  
  1890. %@AB@%C1040%@AE@%                             %@AB@%unexpected end-of-file in source file '%@AE@%%@AI@%%@AE@%
  1891.                                   %@AI@%filename%@AE@%%@AB@%'%@AE@%
  1892.  
  1893.                                   The compiler detected an unexpected 
  1894.                                   end-of-file condition while creating a 
  1895.                                   source listing or mingled source/object 
  1896.                                   listing.  
  1897.  
  1898. %@AB@%C1042%@AE@%                             %@AB@%cannot open compiler intermediate file -%@AE@%
  1899.                                   %@AB@%no such file or directory%@AE@%
  1900.  
  1901.                                   The compiler could not create 
  1902.                                   intermediate files for use in the 
  1903.                                   compilation process because the TMP 
  1904.                                   environment variable was set to an 
  1905.                                   invalid directory or path.  
  1906.  
  1907. %@AB@%C1043%@AE@%                             %@AB@%cannot open compiler intermediate file%@AE@%
  1908.  
  1909.                                   The compiler could not create 
  1910.                                   intermediate files for use in the 
  1911.                                   compilation process. The exact reason 
  1912.                                   could not be determined.  
  1913.  
  1914.                                   One of the following may be a solution: 
  1915.  
  1916.                                   ■ Make sure that the environment 
  1917.                                   variable TMP points to a drive and 
  1918.                                   directory in which a file can be created.
  1919.  
  1920.                                   ■ Delete unneeded files in the TMP 
  1921.                                   directory.
  1922.  
  1923. %@AB@%C1044%@AE@%                             %@AB@%out of disk space for compiler %@AE@%
  1924.                                   %@AB@%intermediate file%@AE@%
  1925.  
  1926.                                   The compiler could not create 
  1927.                                   intermediate files for use in the 
  1928.                                   compilation process because no more 
  1929.                                   space was available.  
  1930.  
  1931.                                   Make more space available on the disk 
  1932.                                   pointed to by the TMP environment 
  1933.                                   variable and then recompile.  
  1934.  
  1935. %@AB@%C1050%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' : code segment too large%@AE@%
  1936.  
  1937.                                   A code segment grew to within 36 bytes 
  1938.                                   of 64K during compilation.  
  1939.  
  1940.                                   A 36-byte pad is used because of a bug 
  1941.                                   in some 80286 chips that can cause 
  1942.                                   programs to exhibit strange behavior 
  1943.                                   when, among other conditions, the size 
  1944.                                   of a code segment is within 36 bytes of 
  1945.                                   64K.  
  1946.  
  1947. %@AB@%C1057%@AE@%                             %@AB@%unexpected end-of-file in macro %@AE@%
  1948.                                   %@AB@%expansion (missing ')'?)%@AE@%
  1949.  
  1950.                                   The compiler has encountered the end of 
  1951.                                   the source file while gathering the 
  1952.                                   arguments of a macro invocation. Usually
  1953.                                   this is the result of a missing closing 
  1954.                                   parenthesis, ), on the macro invocation.
  1955.  
  1956. %@AB@%C1064%@AE@%                             %@AB@%compiler limit : token overflowed %@AE@%
  1957.                                   %@AB@%internal buffer%@AE@%
  1958.  
  1959.                                   The compiler read an identifier that is 
  1960.                                   longer than the internal buffer used for
  1961.                                   identifier names.  
  1962.  
  1963.                                   Shorten the name and recompile.  
  1964.  
  1965. %@AB@%C1071%@AE@%                             %@AB@%unexpected end-of-file found in comment%@AE@%
  1966.  
  1967.                                   The compiler found the end of a file 
  1968.                                   while scanning a comment.  
  1969.  
  1970.                                   Probably a comment was not terminated. 
  1971.                                   Begin at the end of the file and search 
  1972.                                   backward for the beginning of a comment.
  1973.                                   A comment begins with "/*" and ends with
  1974.                                   "*/" as in:  
  1975.  
  1976.                                   /* This is a comment */  
  1977.  
  1978.                                   A comment may not be split across files.
  1979.  
  1980. %@AB@%C1072%@AE@%                             %@AB@%'%@AE@%%@AI@%filename%@AE@%%@AB@%' : cannot read file%@AE@%
  1981.  
  1982.                                   The compiler encountered an error when 
  1983.                                   trying to read a file.  
  1984.  
  1985.                                   Check the file-access attributes and be 
  1986.                                   sure the disk does not have a bad sector.
  1987.  
  1988. %@AB@%C1090%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' data allocation exceeds 64K%@AE@%
  1989.  
  1990.                                   The size of the named segment exceeds 
  1991.                                   64K.  
  1992.  
  1993.                                   This error occurs with %@AB@%_based%@AE@% allocation.
  1994.  
  1995. %@AB@%C1127%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%': segment redefinition%@AE@%
  1996.  
  1997.                                   A segment was overwritten by another 
  1998.                                   with the same name.  
  1999.  
  2000.                                   For example, compiling in large model 
  2001.                                   with  
  2002.  
  2003.                                   %@AS@%#pragma alloc_text("TEXT", func1)%@AE@%
  2004.  
  2005.                                   creates two segments: the default 
  2006.                                   segment "module_TEXT" and the specified 
  2007.                                   segment "_TEXT". However, in small model,
  2008.                                   the default segment is "_TEXT", and the 
  2009.                                   specified segment "_TEXT" will overwrite
  2010.                                   the default segment.  
  2011.  
  2012. %@NL@%
  2013. %@3@%%@CR:C6A00050008 @%%@AB@%5.1.2  Compilation-Error Messages%@AE@%%@EH@%%@NL@%
  2014. %@NL@%
  2015. The messages listed below indicate that your program has errors. They appear
  2016. in the following format:%@CR:C6A00050009 @%%@CR:C6A00050010 @%  %@NL@%
  2017. %@NL@%
  2018. %@AI@%%@AE@%filename%@AS@%(%@AE@%%@AI@%line%@AS@%) : error C2%@AE@%xxx%@AS@%:%@AE@% messagetext%@AE@%  %@NL@%
  2019. %@NL@%
  2020. When the compiler encounters any of the errors listed in this section, it
  2021. continues parsing the program (if possible) and outputs additional error
  2022. messages. However, no object file is produced.  %@NL@%
  2023. %@NL@%
  2024. %@AB@%Number%@AE@%                            %@AB@%Compilation-Error Message%@AE@%
  2025. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  2026. %@AB@%C2027%@AE@%                             %@AB@%use of undefined enum/struct/union '%@AE@%%@AI@%%@AE@%
  2027.                                   %@AI@%identifier%@AE@%%@AB@%'%@AE@%
  2028.  
  2029.                                   The given identifier referred to a 
  2030.                                   structure or union type that was not 
  2031.                                   defined.  
  2032.  
  2033. %@AB@%C2041%@AE@%                             %@AB@%illegal digit '%@AE@%%@AI@%character%@AE@%%@AB@%' for base '%@AE@%%@AI@%%@AE@%
  2034.                                   %@AI@%number%@AE@%%@AB@%'%@AE@%
  2035.  
  2036.                                   The given character was not a legal 
  2037.                                   digit for the base used.  
  2038.  
  2039. %@AB@%C2080%@AE@%                             %@AB@%illegal far _fastcall function%@AE@%
  2040.  
  2041.                                   A %@AB@%far _fastcall%@AE@% function may not be 
  2042.                                   compiled with the /Gw option, or with 
  2043.                                   the /GW option, if stack checking is 
  2044.                                   enabled.  
  2045.  
  2046. %@AB@%C2121%@AE@%                             %@AB@%'%@AE@%%@AI@%operator%@AE@%%@AB@%' : bad left/right operand%@AE@%
  2047.  
  2048.                                   The left or right operand of the given 
  2049.                                   operator was illegal for that operator. 
  2050.  
  2051. %@AB@%C2124%@AE@%                             %@AB@%divide or mod by zero%@AE@%
  2052.  
  2053.                                   A constant expression was evaluated and 
  2054.                                   found to have a zero denominator.  
  2055.  
  2056. %@AB@%C2128%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : huge array cannot be %@AE@%
  2057.                                   %@AB@%aligned to segment boundary%@AE@%
  2058.  
  2059.                                   The given huge array was large enough to
  2060.                                   cross two segment boundaries, but could 
  2061.                                   not be aligned to both boundaries to 
  2062.                                   prevent an individual array element from
  2063.                                   crossing a boundary.  
  2064.  
  2065.                                   If the size of a huge array causes it to
  2066.                                   cross two boundaries, the size of each 
  2067.                                   array element must be a power of two, so
  2068.                                   that a whole number of elements will fit
  2069.                                   between two segment boundaries.  
  2070.  
  2071. %@AB@%C2129%@AE@%                             %@AB@%static function '%@AE@%%@AI@%function%@AE@%%@AB@%' not found%@AE@%
  2072.  
  2073.                                   A forward reference was made to a static
  2074.                                   function that was never defined.  
  2075.  
  2076. %@AB@%C2136%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : prototype must have %@AE@%
  2077.                                   %@AB@%parameter types%@AE@%
  2078.  
  2079.                                   A function prototype declarator had 
  2080.                                   formal-parameter names, but no types 
  2081.                                   were provided for the parameters.  
  2082.  
  2083.                                   A formal parameter in a function 
  2084.                                   prototype must either have a type or be 
  2085.                                   represented by an ellipsis (...) to 
  2086.                                   indicate a variable number of arguments 
  2087.                                   and no type checking.  
  2088.  
  2089.                                   One cause of this error is a misspelling
  2090.                                   of a type name in a prototype that does 
  2091.                                   not provide the names of formal 
  2092.                                   parameters.  
  2093.  
  2094. %@AB@%C2154%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' : does not refer to a segment %@AE@%
  2095.                                   %@AB@%name%@AE@%
  2096.  
  2097.                                   A %@AB@%_based%@AE@%-allocated variable must be 
  2098.                                   allocated in a segment unless it is 
  2099.                                   extern and uninitialized.  
  2100.  
  2101. %@AB@%C2157%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : must be declared before use%@AE@%
  2102.                                   %@AB@%in pragma list%@AE@%
  2103.  
  2104.                                   The function name in the list of 
  2105.                                   functions for an %@AB@%alloc_text%@AE@% pragma has 
  2106.                                   not been declared prior to being 
  2107.                                   referenced in the list.  
  2108.  
  2109. %@AB@%C2158%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : is a function%@AE@%
  2110.  
  2111.                                   The given identifier was specified in 
  2112.                                   the list of variables in a %@AB@%same_seg%@AE@% 
  2113.                                   pragma but was previously declared as a 
  2114.                                   function.  
  2115.  
  2116. %@AB@%C2163%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : not available as an %@AE@%
  2117.                                   %@AB@%intrinsic function%@AE@%
  2118.  
  2119.                                   A function specified in the list of 
  2120.                                   functions for an intrinsic or function 
  2121.                                   pragma is not one of the functions 
  2122.                                   available in intrinsic form.  
  2123.  
  2124. %@AB@%C2164%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : intrinsic function not %@AE@%
  2125.                                   %@AB@%declared%@AE@%
  2126.  
  2127.                                   The given function was not declared 
  2128.                                   before being used in an intrinsic pragma.
  2129.                                   This error appears only when compiling 
  2130.                                   with the /Oi option.  
  2131.  
  2132. %@AB@%C2167%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : too many actual parameters %@AE@%
  2133.                                   %@AB@%for intrinsic function%@AE@%
  2134.  
  2135.                                   A reference to the intrinsic function 
  2136.                                   name contained too many actual 
  2137.                                   parameters.  
  2138.  
  2139. %@AB@%C2168%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : too few actual parameters %@AE@%
  2140.                                   %@AB@%for intrinsic function%@AE@%
  2141.  
  2142.                                   A reference to the intrinsic function 
  2143.                                   name contained too few actual parameters.
  2144.  
  2145. %@AB@%C2169%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : intrinsic function, cannot %@AE@%
  2146.                                   %@AB@%be defined%@AE@%
  2147.  
  2148.                                   An attempt was made to provide a 
  2149.                                   function definition for a function 
  2150.                                   already declared as an intrinsic.  
  2151.  
  2152. %@AB@%C2170%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : not declared as a %@AE@%
  2153.                                   %@AB@%function, cannot be intrinsic%@AE@%
  2154.  
  2155.                                   The intrinsic pragma was used for an 
  2156.                                   item other than a function, or for a 
  2157.                                   function that does not have an intrinsic
  2158.                                   form.  
  2159.  
  2160. %@AB@%C2178%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : storage class for %@AE@%
  2161.                                   %@AB@%same_seg variables must be extern%@AE@%
  2162.  
  2163.                                   The given variable was specified in a %@AB@%%@AE@%
  2164.                                   %@AB@%same_seg%@AE@% pragma, but it was not declared
  2165.                                   with extern storage class.  
  2166.  
  2167. %@AB@%C2179%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : was used in same_seg%@AE@%%@AB@%, but%@AE@%
  2168.                                   %@AB@%storage class is no longer extern%@AE@%
  2169.  
  2170.                                   The given variable was specified in a %@AB@%%@AE@%
  2171.                                   %@AB@%same_seg%@AE@% pragma, but it was redeclared 
  2172.                                   with a storage class other than extern. 
  2173.  
  2174. %@AB@%C2185%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : illegal _based allocation%@AE@%
  2175.  
  2176.                                   A %@AB@%_based%@AE@%-allocated variable that 
  2177.                                   explicitly has extern storage class and 
  2178.                                   is uninitialized may not have a base of 
  2179.                                   any of the following:  
  2180.  
  2181.                                   ■ (_segment) & var
  2182.  
  2183.                                   ■ _segname("_STACK")
  2184.  
  2185.                                   ■ (_segment)_self
  2186.  
  2187.                                   ■ void
  2188.  
  2189.                                   If the variable does not explicitly have
  2190.                                   extern storage class or it is 
  2191.                                   uninitialized, then its base must use 
  2192.                                   _segname("g") where g is any segment 
  2193.                                   name or reserved segment name except 
  2194.                                   "_STACK".  
  2195.  
  2196. %@AB@%C2189%@AE@%                             %@AB@%#error : '%@AE@%%@AI@%string%@AE@%%@AB@%'%@AE@%
  2197.  
  2198.                                   An %@AB@%#error%@AE@% directive was encountered. The
  2199.                                   %@AI@%string%@AE@% is the descriptive text supplied 
  2200.                                   in the directive.  
  2201.  
  2202. %@AB@%C2193%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : already in a segment%@AE@%
  2203.  
  2204.                                   A variable in the %@AB@%same_seg%@AE@% pragma has 
  2205.                                   already been allocated in a segment, 
  2206.                                   using %@AB@%_based%@AE@%.  
  2207.  
  2208. %@AB@%C2194%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' : is a text segment%@AE@%
  2209.  
  2210.                                   The given text segment was used where a %@AB@%%@AE@%
  2211.                                   %@AB@%data%@AE@%, %@AB@%const%@AE@%, or %@AB@%bss%@AE@% segment was expected.
  2212.  
  2213. %@AB@%C2195%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' : is a data segment%@AE@%
  2214.  
  2215.                                   The given data segment was used where a 
  2216.                                   text segment was expected.  
  2217.  
  2218. %@AB@%C2196%@AE@%                             %@AB@%/ML cannot be used with floating point%@AE@%
  2219.  
  2220.                                   The /ML option requires alternate math. 
  2221.                                   QuickC does not support alternate math. 
  2222.                                   The /ML option is allowed only when no 
  2223.                                   floating-point code is used.  
  2224.  
  2225. %@AB@%C2200%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : function has already been %@AE@%
  2226.                                   %@AB@%defined%@AE@%
  2227.  
  2228.                                   A function name passed as an argument in
  2229.                                   an %@AB@%alloc_text%@AE@% pragma has already been 
  2230.                                   defined.  
  2231.  
  2232. %@AB@%C2201%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : storage class must be %@AE@%
  2233.                                   %@AB@%extern%@AE@%
  2234.  
  2235.                                   A function declaration appears within a 
  2236.                                   block, but the function is not declared 
  2237.                                   extern. This causes an error if the /Za 
  2238.                                   option is in effect.  
  2239.  
  2240.                                   For example, the following example code 
  2241.                                   causes this error, when compiled  with 
  2242.                                   /Za:  
  2243.  
  2244.                                   %@AS@%main()%@AE@%
  2245.                                   %@AS@%{%@AE@%
  2246.                                   %@AS@%    static int func1();%@AE@%
  2247.                                   %@AS@%}%@AE@%
  2248.  
  2249. %@AB@%C2207%@AE@%                             %@AB@%'%@AE@%%@AI@%member%@AE@%%@AB@%' in struct/union '%@AE@%%@AI@%tag%@AE@%%@AB@%' has a %@AE@%
  2250.                                   %@AB@%zero-sized array%@AE@%
  2251.  
  2252.                                   The given member in the given structure 
  2253.                                   or union contains an array without a 
  2254.                                   subscript or with a zero subscript. Such
  2255.                                   an array is legal only as the last 
  2256.                                   member of a structure or union.  
  2257.  
  2258. %@AB@%C2208%@AE@%                             %@AB@%no members defined using this type%@AE@%
  2259.  
  2260.                                   An %@AB@%enum%@AE@%, %@AB@%struct%@AE@%, or %@AB@%union%@AE@% was defined 
  2261.                                   without any members. This is an error 
  2262.                                   only when compiling with /Za; otherwise,
  2263.                                   it is a warning.  
  2264.  
  2265. %@AB@%C2209%@AE@%                             %@AB@%type cast in _based construct must be %@AE@%
  2266.                                   %@AB@%(_segment)%@AE@%
  2267.  
  2268.                                   The only type allowed within a cast in a
  2269.                                   %@AB@%_based%@AE@% declarator is (%@AB@%_segment%@AE@%).  
  2270.  
  2271. %@AB@%C2210%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : must be near/far data %@AE@%
  2272.                                   %@AB@%pointer%@AE@%
  2273.  
  2274.                                   The base in a %@AB@%_based%@AE@% declarator may not 
  2275.                                   be an array, a function, or a %@AB@%_based%@AE@% 
  2276.                                   pointer.  
  2277.  
  2278. %@AB@%C2211%@AE@%                             %@AB@%(_segment) applied to function %@AE@%
  2279.                                   %@AB@%identifier '%@AE@%%@AI@%function%@AE@%%@AB@%'%@AE@%
  2280.  
  2281.                                   The item cast in a %@AB@%_based%@AE@% declarator 
  2282.                                   must not be a function.  
  2283.  
  2284. %@AB@%C2212%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : _based not available for %@AE@%
  2285.                                   %@AB@%functions/pointers to functions%@AE@%
  2286.  
  2287.                                   Functions cannot be %@AB@%_based%@AE@%-allocated. 
  2288.                                   Use the %@AB@%alloc_text%@AE@% pragma.  
  2289.  
  2290. %@AB@%C2213%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : illegal argument to %@AE@%
  2291.                                   %@AB@%_based%@AE@%
  2292.  
  2293.                                   A symbol used as a base must have type %@AB@%%@AE@%
  2294.                                   %@AB@%_segment%@AE@% or be a near or far pointer.  
  2295.  
  2296. %@AB@%C2214%@AE@%                             %@AB@%pointers based on void require the use %@AE@%
  2297.                                   %@AB@%of :>%@AE@%
  2298.  
  2299.                                   A %@AB@%_based%@AE@% pointer based on void cannot be
  2300.                                   dereferenced. Use the :> operator to 
  2301.                                   create an address that can be 
  2302.                                   dereferenced.  
  2303.  
  2304. %@AB@%C2215%@AE@%                             %@AB@%:> operator only for objects based on %@AE@%
  2305.                                   %@AB@%void%@AE@%
  2306.  
  2307.                                   The right operand of the :> operator 
  2308.                                   must be a pointer based on void, as in  
  2309.  
  2310.                                   %@AS@%char _based(void) *cbvpi%@AE@%
  2311.  
  2312. %@AB@%C2216%@AE@%                             %@AB@%'%@AE@%%@AI@%attribute1%@AE@%%@AB@%' may not be used with '%@AE@%%@AI@%%@AE@%
  2313.                                   %@AI@%attribute2%@AE@%%@AB@%'%@AE@%
  2314.  
  2315.                                   The given function attributes are 
  2316.                                   incompatible.  
  2317.  
  2318.                                   Some combinations of attributes that 
  2319.                                   cause this error are  
  2320.  
  2321.                                   ■ %@AB@%_saveregs%@AE@% and %@AB@%_interrupt%@AE@%
  2322.  
  2323.                                   ■ %@AB@%_fastcall%@AE@% and %@AB@%_saveregs%@AE@%
  2324.  
  2325.                                   ■ %@AB@%_fastcall%@AE@% and %@AB@%_interrupt%@AE@%
  2326.  
  2327.                                   ■ %@AB@%_fastcall%@AE@% and %@AB@%_export%@AE@%
  2328.  
  2329. %@AB@%C2217%@AE@%                             %@AB@%'%@AE@%%@AI@%attribute1%@AE@%%@AB@%' must be used with '%@AE@%%@AI@%%@AE@%
  2330.                                   %@AI@%attribute2%@AE@%%@AB@%'%@AE@%
  2331.  
  2332.                                   The first function attribute requires 
  2333.                                   the second attribute to be used.  
  2334.  
  2335.                                   Some causes for this error include  
  2336.  
  2337.                                   ■ An interrupt function explicitly 
  2338.                                   declared as near. Interrupt functions 
  2339.                                   must
  2340.                                   be far.
  2341.  
  2342.                                   ■ An interrupt function or a function 
  2343.                                   with a variable number of arguments, 
  2344.                                   when that function is declared with the %@AB@%%@AE@%
  2345.                                   %@AB@%_fortran%@AE@%, %@AB@%_pascal%@AE@%, or %@AB@%_fastcall%@AE@% 
  2346.                                   attribute. Functions declared with the 
  2347.                                   _interrupt attribute or with a variable 
  2348.                                   number of arguments must use the C 
  2349.                                   calling conventions. Remove the %@AB@%%@AE@%
  2350.                                   %@AB@%_fortran%@AE@%, %@AB@%_pascal%@AE@%, or %@AB@%_fastcall%@AE@% 
  2351.                                   attribute from the function declaration.
  2352.  
  2353. %@AB@%C2218%@AE@%                             %@AB@%type in _based construct must be void%@AE@%
  2354.  
  2355.                                   The only type allowed within a %@AB@%_based%@AE@% 
  2356.                                   construct is %@AB@%void%@AE@%.  
  2357.  
  2358. %@AB@%C2219%@AE@%                             %@AB@%syntax error : type qualifier must be %@AE@%
  2359.                                   %@AB@%after '*'%@AE@%
  2360.  
  2361.                                   Either %@AB@%const%@AE@% or %@AB@%volatile%@AE@% appeared where 
  2362.                                   a type or qualifier is not allowed, as 
  2363.                                   in  
  2364.  
  2365.                                   %@AS@%int (const *p);%@AE@%
  2366.  
  2367. %@AB@%C2220%@AE@%                             %@AB@%warning treated as error - no object %@AE@%
  2368.                                   %@AB@%file generated%@AE@%
  2369.  
  2370.                                   When the compiler option /WX is used, 
  2371.                                   the first warning generated by the 
  2372.                                   compiler causes this error message to be
  2373.                                   displayed.  
  2374.  
  2375.                                   Either correct the condition that caused
  2376.                                   the warning, or compile at a lower 
  2377.                                   warning level or without /WX.  
  2378.  
  2379. %@AB@%C2221%@AE@%                             %@AB@%'.' : left operand points to %@AE@%
  2380.                                   %@AB@%struct/union, use '->'%@AE@%
  2381.  
  2382.                                   The left operand of the '.' operator 
  2383.                                   must be a struct/union type. It cannot 
  2384.                                   be a pointer to a %@AB@%struct%@AE@%/%@AB@%union%@AE@% type.  
  2385.  
  2386.                                   This error usually means that a '->' 
  2387.                                   operator must be used.  
  2388.  
  2389. %@AB@%C2222%@AE@%                             %@AB@%'->' : left operand has struct/union %@AE@%
  2390.                                   %@AB@%type, use '.'%@AE@%
  2391.  
  2392.                                   The left operand of the '->' operator 
  2393.                                   must be a pointer to a %@AB@%struct%@AE@%/%@AB@%union%@AE@% type.
  2394.                                   It cannot be a %@AB@%struct%@AE@%/%@AB@%union%@AE@% type.  
  2395.  
  2396.                                   This error usually means that a '.' 
  2397.                                   operator must be used.  
  2398.  
  2399. %@AB@%C2223%@AE@%                             %@AB@%left of '%@AE@%%@AI@%-> member%@AE@%%@AB@%' must point to %@AE@%
  2400.                                   %@AB@%struct/union%@AE@%
  2401.  
  2402.                                   The left operand of the '->' operator is
  2403.                                   not a pointer to a %@AB@%struct%@AE@%/%@AB@%union%@AE@% type.  
  2404.  
  2405.                                   This error can occur when the left 
  2406.                                   operand is an undefined variable. 
  2407.                                   Undefined variables have type %@AB@%int%@AE@%.  
  2408.  
  2409. %@AB@%C2224%@AE@%                             %@AB@%left of '%@AE@%%@AI@%.member%@AE@%%@AB@%' must have struct/union%@AE@%
  2410.                                   %@AB@%type%@AE@%
  2411.  
  2412.                                   The left operand of the '.' operator is 
  2413.                                   not a %@AB@%struct%@AE@%/%@AB@%union%@AE@% type.  
  2414.  
  2415.                                   This error can occur when the left 
  2416.                                   operand is an undefined variable. 
  2417.                                   Undefined variables have type %@AB@%int%@AE@%.  
  2418.  
  2419. %@AB@%C2225%@AE@%                             %@AB@%'%@AE@%%@AI@%tagname%@AE@%%@AB@%' : first member of struct is %@AE@%
  2420.                                   %@AB@%unnamed%@AE@%
  2421.  
  2422.                                   The %@AB@%struct%@AE@% with the given tag started 
  2423.                                   with an unnamed member (an alignment 
  2424.                                   member). %@AB@%Struct%@AE@% definitions must start 
  2425.                                   with a named member.  
  2426.  
  2427. %@AB@%C2418%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : not in a register%@AE@%
  2428.  
  2429.                                   An in-line assembler instruction 
  2430.                                   referenced a variable with register 
  2431.                                   storage class that has not actually been
  2432.                                   allocated in a register.  
  2433.  
  2434.                                   To correct this, remove the register 
  2435.                                   keyword from the variable definition, 
  2436.                                   and make sure that this instruction is 
  2437.                                   legal with a memory operand.  
  2438.  
  2439. %@AB@%C2429%@AE@%                             %@AB@%'%@AE@%%@AI@%label%@AE@%%@AB@%' : illegal far label reference%@AE@%
  2440.  
  2441.                                   %@AB@%FAR PTR%@AE@% may not be used on jumps or 
  2442.                                   calls to labels. Far references to 
  2443.                                   functions are allowed as long as the 
  2444.                                   function has been declared.  
  2445.  
  2446. %@NL@%
  2447. %@3@%%@CR:C6A00050011 @%%@AB@%5.1.3  Warning Messages%@AE@%%@EH@%%@NL@%
  2448. %@NL@%
  2449. The messages listed in this section indicate potential problems but do not
  2450. hinder compiling and linking.%@CR:C6A00050012 @%%@CR:C6A00050013 @%%@CR:C6A00050014 @%  %@NL@%
  2451. %@NL@%
  2452. %@AB@%Number %@AE@%                           %@AB@%Warning Message%@AE@%
  2453. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  2454. %@AB@%C4001%@AE@%                             %@AB@%nonstandard extension used - '%@AE@%%@AI@%extension%@AE@%%@AB@%'%@AE@%
  2455.  
  2456.                                   The given nonstandard language extension
  2457.                                   was used when the /Ze option was 
  2458.                                   specified.  
  2459.  
  2460.                                   If the /Za option has been specified, 
  2461.                                   this condition generates a syntax error.
  2462.  
  2463. %@AB@%C4007%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : must be '%@AE@%%@AI@%attribute%@AE@%%@AB@%'%@AE@%
  2464.  
  2465.                                   The attribute of the given function was 
  2466.                                   not explicitly stated. The compiler 
  2467.                                   forced the attribute.  
  2468.  
  2469.                                   For example, the function main must have
  2470.                                   the %@AB@%_cdecl%@AE@% attribute.  
  2471.  
  2472. %@AB@%C4008%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : _fastcall attribute on %@AE@%
  2473.                                   %@AB@%data ignored%@AE@%
  2474.  
  2475.                                   The %@AB@%_fastcall%@AE@% attribute on the given 
  2476.                                   data identifier was ignored.  
  2477.  
  2478. %@AB@%C4023%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : _based pointer passed to %@AE@%
  2479.                                   %@AB@%unprototyped function: parameter '%@AE@%%@AI@%number%@AE@%
  2480.                                   %@AB@%'%@AE@%
  2481.  
  2482.                                   When in a near data model, only the 
  2483.                                   offset portion of a %@AB@%_based%@AE@% pointer is 
  2484.                                   passed to an unprototyped function. If 
  2485.                                   the function expects a far pointer, the 
  2486.                                   resulting code will be wrong. In any 
  2487.                                   data model, if the function is defined 
  2488.                                   to take a %@AB@%_based%@AE@% pointer with a 
  2489.                                   different base, the resulting code may 
  2490.                                   be unpredictable.  
  2491.  
  2492.                                   If a prototype is used before the call, 
  2493.                                   the call will be generated correctly.  
  2494.  
  2495. %@AB@%C4050%@AE@%                             %@AB@%'%@AE@%%@AI@%operator%@AE@%%@AB@%' : different code attributes%@AE@%
  2496.  
  2497.                                   The function-pointer expressions used 
  2498.                                   with %@AI@%operator%@AE@% had different code 
  2499.                                   attributes. The attribute involved is 
  2500.                                   either %@AB@%_export%@AE@% or%@AB@%_loadds%@AE@%.  
  2501.  
  2502.                                   This is a warning and not an error, 
  2503.                                   because %@AB@%_export%@AE@% and %@AB@%_loadds%@AE@% affect only 
  2504.                                   entry sequences and not calling 
  2505.                                   conventions.  
  2506.  
  2507. %@AB@%C4054%@AE@%                             %@AB@%insufficient memory may affect %@AE@%
  2508.                                   %@AB@%optimization%@AE@%
  2509.  
  2510.                                   Not enough memory was available to do 
  2511.                                   all requested optimizations. This 
  2512.                                   message appears if available memory is 
  2513.                                   within 64K of the absolute minimum that 
  2514.                                   will accommodate the executable file.  
  2515.  
  2516. %@AB@%C4056%@AE@%                             %@AB@%floating-point overflow%@AE@%
  2517.  
  2518.                                   The compiler generated a floating-point 
  2519.                                   exception while doing constant 
  2520.                                   arithmetic on floating-point items at 
  2521.                                   compile time.  
  2522.  
  2523.                                   For example:  
  2524.  
  2525.                                   %@AS@%float fp_val = 1.0e100;%@AE@%
  2526.  
  2527.                                   In this example, the floating-point 
  2528.                                   constant %@AS@% 1.0e100 %@AE@% exceeds the maximum 
  2529.                                   allowable value for a double-precision 
  2530.                                   data item.  
  2531.  
  2532. %@AB@%C4059%@AE@%                             %@AB@%segment lost in conversion%@AE@%
  2533.  
  2534.                                   The conversion of a far pointer (a full 
  2535.                                   segmented address) or %@AB@%_based%@AE@% pointer to 
  2536.                                   a near pointer (a segment offset) or %@AB@%%@AE@%
  2537.                                   %@AB@%_based%@AE@% pointer resulted in the loss of 
  2538.                                   the segment address.  
  2539.  
  2540. %@AB@%C4063%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : function too large for %@AE@%
  2541.                                   %@AB@%post-optimizer%@AE@%
  2542.  
  2543.                                   Not enough space was available to 
  2544.                                   optimize the given function.  
  2545.  
  2546.                                   One of the following may be a solution: 
  2547.  
  2548.                                   ■ Recompile with fewer optimizations.
  2549.  
  2550.                                   ■ Divide the function into two or more 
  2551.                                   smaller functions.
  2552.  
  2553. %@AB@%C4065%@AE@%                             %@AB@%recoverable heap overflow in %@AE@%
  2554.                                   %@AB@%post-optimizer - some optimizations may %@AE@%
  2555.                                   %@AB@%be missed%@AE@%
  2556.  
  2557.                                   Some optimizations were skipped because 
  2558.                                   not enough space was available for 
  2559.                                   optimization.  
  2560.  
  2561.                                   One of the following may be a solution: 
  2562.  
  2563.                                   ■ Recompile with fewer optimizations.
  2564.  
  2565.                                   ■ Divide the function into two or more 
  2566.                                   smaller functions.
  2567.  
  2568. %@AB@%C4066%@AE@%                             %@AB@%local symbol-table overflow - some local%@AE@%
  2569.                                   %@AB@%symbols may be missing in listings%@AE@%
  2570.  
  2571.                                   The listing generator ran out of heap 
  2572.                                   space for local variables, so the source
  2573.                                   listing may not contain symbol-table 
  2574.                                   information for all local variables.  
  2575.  
  2576. %@AB@%C4067%@AE@%                             %@AB@%unexpected characters following '%@AE@%%@AI@%%@AE@%
  2577.                                   %@AI@%directive%@AE@%%@AB@%' directive - newline expected%@AE@%
  2578.  
  2579.                                   Extra characters followed a preprocessor
  2580.                                   directive and were ignored. This warning
  2581.                                   appears only when compiling with the /Za
  2582.                                   option.  
  2583.  
  2584.                                   For example, the following code causes 
  2585.                                   this warning:  
  2586.  
  2587.                                   %@AS@%#endif    NO_EXT_KEYS%@AE@%
  2588.  
  2589.                                   To remove the warning, compile with /Ze 
  2590.                                   or use comment delimiters:  
  2591.  
  2592.                                   %@AS@%#endif    /* NO_EXT_KEYS */%@AE@%
  2593.  
  2594. %@AB@%C4072%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : no function prototype on %@AE@%
  2595.                                   %@AB@%_fastcall function%@AE@%
  2596.  
  2597.                                   A %@AB@%_fastcall%@AE@% function was called without 
  2598.                                   first being prototyped.  
  2599.  
  2600.                                   Functions that are %@AB@%_fastcall%@AE@% should be 
  2601.                                   prototyped to guarantee that the 
  2602.                                   registers assigned at each point of call
  2603.                                   are the same as the registers assumed 
  2604.                                   when the function is defined. A function
  2605.                                   defined in the new ANSI style is a 
  2606.                                   prototype.  
  2607.  
  2608.                                   A prototype must be added when this 
  2609.                                   warning appears, unless the function 
  2610.                                   takes no arguments or takes only 
  2611.                                   arguments that cannot be passed in the 
  2612.                                   general- purpose registers.  
  2613.  
  2614. %@AB@%C4073%@AE@%                             %@AB@%scoping too deep, deepest scoping merged%@AE@%
  2615.                                   %@AB@%when debugging%@AE@%
  2616.  
  2617.                                   Declarations appeared at a static 
  2618.                                   nesting level greater than 13. As a 
  2619.                                   result, all de-clarations beyond this 
  2620.                                   level will seem to appear at the same 
  2621.                                   level.  
  2622.  
  2623. %@AB@%C4078%@AE@%                             %@AB@%case constant '%@AE@%%@AI@%value%@AE@%%@AB@%' too big for the %@AE@%
  2624.                                   %@AB@%type of switch expression%@AE@%
  2625.  
  2626.                                   A value appearing in a case statement 
  2627.                                   was larger than the size of the type in 
  2628.                                   the %@AB@%switch%@AE@% expression. The compiler 
  2629.                                   converted the case value to the type of 
  2630.                                   the %@AB@%switch%@AE@% expression.  
  2631.  
  2632.                                   A problem can occur when two case 
  2633.                                   constants have different values before 
  2634.                                   being cast but the same value afterward.
  2635.  
  2636. %@AB@%C4080%@AE@%                             %@AB@%expected identifier for segment name, %@AE@%
  2637.                                   %@AB@%found '%@AE@%%@AI@%token%@AE@%%@AB@%'%@AE@%
  2638.  
  2639.                                   The first argument in the argument list 
  2640.                                   for the %@AB@%alloc_text%@AE@% pragma is missing a 
  2641.                                   segment name. This happens if the first 
  2642.                                   token in the argument list is not an 
  2643.                                   identifier.  
  2644.  
  2645.                                   The pragma was ignored.  
  2646.  
  2647. %@AB@%C4081%@AE@%                             %@AB@%expected a comma, found '%@AE@%%@AI@%token%@AE@%%@AB@%'%@AE@%
  2648.  
  2649.                                   A comma (,) was missing between two 
  2650.                                   arguments of a pragma.  
  2651.  
  2652.                                   The pragma was ignored.  
  2653.  
  2654. %@AB@%C4096%@AE@%                             %@AB@%'%@AE@%%@AI@%attribute1%@AE@%%@AB@%' must be used with '%@AE@%%@AI@%%@AE@%
  2655.                                   %@AI@%attribute2%@AE@%%@AB@%'%@AE@%
  2656.  
  2657.                                   The use of %@AI@%attribute2%@AE@% requires the use 
  2658.                                   of %@AI@%attribute1%@AE@%.  
  2659.  
  2660.                                   For example, using a variable number of 
  2661.                                   arguments (...) requires that %@AB@%_cdecl%@AE@% be 
  2662.                                   used. Also, _interrupt functions must be
  2663.                                   %@AB@%_far%@AE@% and %@AB@%_cdecl%@AE@%.  
  2664.  
  2665.                                   The compiler assumed %@AI@%attribute1%@AE@% for the 
  2666.                                   function.  
  2667.  
  2668. %@AB@%C4104%@AE@%                             %@AB@%'%@AE@%%@AI@%identifier%@AE@%%@AB@%' : near data in same_seg %@AE@%
  2669.                                   %@AB@%pragma, ignored%@AE@%
  2670.  
  2671.                                   The given near variable was specified in
  2672.                                   a %@AB@%same_seg%@AE@% pragma.  
  2673.  
  2674.                                   The %@AI@%identifier%@AE@% was ignored.  
  2675.  
  2676. %@AB@%C4106%@AE@%                             %@AB@%pragma requires integer between 1 and %@AE@%
  2677.                                   %@AB@%127%@AE@%
  2678.  
  2679.                                   An integer constant in the range 1-127 
  2680.                                   must be specified with the %@AB@%page%@AE@% and %@AB@%skip%@AE@%
  2681.                                   pragmas.  
  2682.  
  2683.                                   The compiler assumed 1 was specified.  
  2684.  
  2685. %@AB@%C4107%@AE@%                             %@AB@%pragma requires integer between 15 and %@AE@%
  2686.                                   %@AB@%255%@AE@%
  2687.  
  2688.                                   An integer constant in the range 15-255 
  2689.                                   must be specified with the %@AB@%pagesize%@AE@% 
  2690.                                   pragma.  
  2691.  
  2692.                                   The compiler assumed 63 was specified.  
  2693.  
  2694. %@AB@%C4108%@AE@%                             %@AB@%pragma requires integer between 79 and %@AE@%
  2695.                                   %@AB@%132%@AE@%
  2696.  
  2697.                                   An integer constant in the range 79-132 
  2698.                                   must be specified with the %@AB@%linesize%@AE@% 
  2699.                                   pragma.  
  2700.  
  2701.                                   The compiler assumed 79 was specified.  
  2702.  
  2703. %@AB@%C4119%@AE@%                             %@AB@%different bases '%@AE@%%@AI@%name1%@AE@%%@AB@%' and '%@AE@%%@AI@%name2%@AE@%%@AB@%' %@AE@%
  2704.                                   %@AB@%specified%@AE@%
  2705.  
  2706.                                   The %@AB@%_based%@AE@% pointers in the expression 
  2707.                                   have different symbolic bases. There may
  2708.                                   be truncation or loss in the code 
  2709.                                   generated.  
  2710.  
  2711. %@AB@%C4120%@AE@%                             %@AB@%_based/unbased mismatch%@AE@%
  2712.  
  2713.                                   The expression contains a conversion 
  2714.                                   between a %@AB@%_based%@AE@% pointer and another 
  2715.                                   pointer that is unbased. Some 
  2716.                                   information may have been truncated.  
  2717.  
  2718.                                   This warning commonly occurs when a %@AB@%%@AE@%
  2719.                                   %@AB@%_based%@AE@% pointer is passed to a function 
  2720.                                   that accepts a near or far pointer.  
  2721.  
  2722. %@AB@%C4123%@AE@%                             %@AB@%different base expressions specified%@AE@%
  2723.  
  2724.                                   The expression contains a conversion 
  2725.                                   between %@AB@%_based%@AE@% pointers, but the base 
  2726.                                   expressions of the %@AB@%_based%@AE@% pointers are 
  2727.                                   different. Some of the %@AB@%_based%@AE@% 
  2728.                                   conversions may be unexpected.  
  2729.  
  2730. %@AB@%C4124%@AE@%                             %@AB@%_fastcall with stack checking is %@AE@%
  2731.                                   %@AB@%inefficient%@AE@%
  2732.  
  2733.                                   The %@AB@%_fastcall%@AE@% keyword is used for 
  2734.                                   generating fast code, but stack checking
  2735.                                   causes slower code to be generated.  
  2736.  
  2737.                                   Use the /Gs option or the %@AB@%check_stack%@AE@% 
  2738.                                   pragma to turn off stack checking when 
  2739.                                   using %@AB@%_fastcall%@AE@%.  
  2740.  
  2741.                                   This warning is informational and is 
  2742.                                   issued only for the first function 
  2743.                                   declared under these conditions.  
  2744.  
  2745. %@AB@%C4125%@AE@%                             %@AB@%decimal digit terminates octal escape %@AE@%
  2746.                                   %@AB@%sequence%@AE@%
  2747.  
  2748.                                   An octal escape sequence in a character 
  2749.                                   or string constant was terminated with a
  2750.                                   decimal digit.  
  2751.  
  2752.                                   The compiler evaluated the octal number 
  2753.                                   without the decimal digit, and assumed 
  2754.                                   the decimal digit was a character.  
  2755.  
  2756.                                   The following example causes this 
  2757.                                   warning:  
  2758.  
  2759.                                   %@AS@%char array1[] = "\\709";%@AE@%
  2760.  
  2761.                                   If the digit 9 was intended as a 
  2762.                                   character and was not a typing error, 
  2763.                                   correct the example as follows:  
  2764.  
  2765.                                   %@AS@%char array[] = "\\0709";  /* String %@AE@%
  2766.                                   %@AS@%containing "89" */%@AE@%
  2767.  
  2768. %@AB@%C4126%@AE@%                             %@AB@%'%@AE@%%@AI@%flag%@AE@%%@AB@%' : unknown memory model flag%@AE@%
  2769.  
  2770.                                   The flag used with the /A option was not
  2771.                                   recognized and was ignored.  
  2772.  
  2773. %@AB@%C4127%@AE@%                             %@AB@%conditional expression is constant%@AE@%
  2774.  
  2775.                                   The controlling expression of an if 
  2776.                                   statement or while loop evaluates to a 
  2777.                                   constant.  
  2778.  
  2779.                                   As a result, the code in the body of the
  2780.                                   if statement or while loop is either 
  2781.                                   always executed or never executed.  
  2782.  
  2783.                                   This warning is informational.  
  2784.  
  2785. %@AB@%C4128%@AE@%                             %@AB@%storage-class specifier after type%@AE@%
  2786.  
  2787.                                   A storage-class specifier (auto, extern,
  2788.                                   register, static) appears after a type 
  2789.                                   in a declaration. The compiler assumed 
  2790.                                   the storage class specifier occurred 
  2791.                                   before the type.  
  2792.  
  2793.                                   New-style code places the storage-class 
  2794.                                   specifier first.  
  2795.  
  2796. %@AB@%C4129%@AE@%                             %@AB@%'%@AE@%%@AI@%character%@AE@%%@AB@%' : unrecognized character %@AE@%
  2797.                                   %@AB@%escape sequence%@AE@%
  2798.  
  2799.                                   The character following a backslash in a
  2800.                                   character or string constant was not 
  2801.                                   recognized as a valid escape sequence.  
  2802.  
  2803.                                   As a result, the backslash is ignored 
  2804.                                   and not printed, and the character 
  2805.                                   following the backslash is printed.  
  2806.  
  2807.                                   To print a single backslash ( \ ), 
  2808.                                   specify a double backslash ( \\ ).  
  2809.  
  2810. %@AB@%C4130%@AE@%                             %@AB@%'%@AE@%%@AI@%operator%@AE@%%@AB@%' : logical operation on %@AE@%
  2811.                                   %@AB@%address of string constant%@AE@%
  2812.  
  2813.                                   The operator was used with the address 
  2814.                                   of a string literal. Unexpected code was
  2815.                                   generated.  
  2816.  
  2817.                                   For example, the following code causes 
  2818.                                   this warning:  
  2819.  
  2820.                                   %@AS@%char *pc;%@AE@%
  2821.                                   %@AS@%pc = "Hello";%@AE@%
  2822.                                   %@AS@%if (pc == "Hello") ...%@AE@%
  2823.  
  2824.                                   The if statement compares the value 
  2825.                                   stored in the pointer pc to the address 
  2826.                                   of the string %@AS@% "Hello"%@AE@%, which is 
  2827.                                   separately allocated each time it occurs
  2828.                                   in the code. It does not compare the 
  2829.                                   string pointed to by %@AS@%pc%@AE@% with the string %@AS@%%@AE@%
  2830.                                   %@AS@%"Hello"%@AE@%.  
  2831.  
  2832.                                   To compare strings, use the strcmp 
  2833.                                   function.  
  2834.  
  2835. %@AB@%C4131%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : uses old-style declarator%@AE@%
  2836.  
  2837.                                   The function declaration or definition 
  2838.                                   is not a prototype.  
  2839.  
  2840.                                   New-style function declarations are in 
  2841.                                   prototype form.  
  2842.  
  2843.                                   ■ old style
  2844.  
  2845.                                   %@AS@%int addrec( name, id )%@AE@%
  2846.                                   %@AS@%char *name;%@AE@%
  2847.                                   %@AS@%int id;%@AE@%
  2848.                                   %@AS@%{ }%@AE@%
  2849.  
  2850.                                   ■ new style
  2851.  
  2852.                                   %@AS@%int addrec( char *name, int id )%@AE@%
  2853.                                   %@AS@%{ }%@AE@%
  2854.  
  2855. %@AB@%C4132%@AE@%                             %@AB@%'%@AE@%%@AI@%object%@AE@%%@AB@%' : const object should be %@AE@%
  2856.                                   %@AB@%initialized%@AE@%
  2857.  
  2858.                                   The value of a %@AB@%const%@AE@% object cannot be 
  2859.                                   changed, so the only way to give the %@AB@%%@AE@%
  2860.                                   %@AB@%const%@AE@% object a value is to initialize it.
  2861.  
  2862.                                   It will not be possible to assign a 
  2863.                                   value to %@AI@%object%@AE@%.  
  2864.  
  2865. %@AB@%C4135%@AE@%                             %@AB@%conversion between different integral %@AE@%
  2866.                                   %@AB@%types%@AE@%
  2867.  
  2868.                                   Information was lost between two 
  2869.                                   integral types.  
  2870.  
  2871.                                   For example, the following code causes 
  2872.                                   this warning:  
  2873.  
  2874.                                   %@AS@%int intvar;%@AE@%
  2875.                                   %@AS@%long longvar;%@AE@%
  2876.                                   %@AS@%intvar = longvar;%@AE@%
  2877.  
  2878.                                   If the information is merely interpreted
  2879.                                   differently, this warning is not given, 
  2880.                                   as in the following example:  
  2881.  
  2882.                                   %@AS@%unsigned uintvar = intvar;%@AE@%
  2883.  
  2884. %@AB@%C4136%@AE@%                             %@AB@%conversion between different floating %@AE@%
  2885.                                   %@AB@%types%@AE@%
  2886.  
  2887.                                   Information was lost or truncated 
  2888.                                   between two floating types.  
  2889.  
  2890.                                   For example, the following code causes 
  2891.                                   this warning:  
  2892.  
  2893.                                   %@AS@%double doublevar;%@AE@%
  2894.                                   %@AS@%float floatvar;%@AE@%
  2895.                                   %@AS@%floatvar = doublevar;%@AE@%
  2896.  
  2897.                                   Note that unsuffixed floating-point 
  2898.                                   constants have type double, so the 
  2899.                                   following code causes this warning:  
  2900.  
  2901.                                   %@AS@%floatvar = 1.0;%@AE@%
  2902.  
  2903.                                   If the floating-point constant should be
  2904.                                   treated as float type, use the %@AS@%F%@AE@% (or %@AS@%f%@AE@%) 
  2905.                                   suffix on the constant to prevent the 
  2906.                                   following warning:  
  2907.  
  2908.                                   %@AS@%floatvar = 1.0F;%@AE@%
  2909.  
  2910. %@AB@%C4137%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : no return value from %@AE@%
  2911.                                   %@AB@%floating-point function%@AE@%
  2912.  
  2913.                                   The given function had no return 
  2914.                                   statement.  
  2915.  
  2916.                                   A long double function returns its value
  2917.                                   on the floating-point stack or the 
  2918.                                   emulated stack. If the function does not
  2919.                                   return a value, a run-time 
  2920.                                   floating-point stack underflow may occur.
  2921.  
  2922. %@AB@%C4138%@AE@%                             %@AB@%'*/' found outside of comment%@AE@%
  2923.  
  2924.                                   The compiler found a closing comment 
  2925.                                   delimiter (*/) without a preceding 
  2926.                                   opening delimiter. It assumed a space 
  2927.                                   between the asterisk (*) and the forward
  2928.                                   slash ( / ).  
  2929.  
  2930.                                   The following example causes this 
  2931.                                   warning:  
  2932.  
  2933.                                   %@AS@%int */*comment*/ptr;%@AE@%
  2934.  
  2935.                                   In this example, the compiler assumed a 
  2936.                                   space before the first comment delimiter
  2937.                                   ( /* ), and issued the warning but 
  2938.                                   compiled the line normally. To remove 
  2939.                                   the warning, insert the assumed space.  
  2940.  
  2941.                                   Usually, the cause of this warning is an
  2942.                                   attempt to nest comments.  
  2943.  
  2944.                                   To comment out sections of code that may
  2945.                                   contain comments, enclose the code in an
  2946.                                   %@AB@%#if%@AE@%/%@AB@%#endif%@AE@% block and set the controlling
  2947.                                   expression to zero, as in:  
  2948.  
  2949.                                   %@AS@%#if 0%@AE@%
  2950.                                   %@AS@%int my_variable;   /* Declaration %@AE@%
  2951.                                   %@AS@%currently not needed */%@AE@%
  2952.                                   %@AS@%#endif%@AE@%
  2953.  
  2954. %@AB@%C4139%@AE@%                             %@AB@%'%@AE@%%@AI@%hexnumber%@AE@%%@AB@%' : hex escape sequence is out%@AE@%
  2955.                                   %@AB@%of range%@AE@%
  2956.  
  2957.                                   A hex escape sequence appearing in a 
  2958.                                   character or string constant was too 
  2959.                                   large to be converted to a character.  
  2960.  
  2961.                                   If in a string constant, the compiler 
  2962.                                   cast the low byte of the hexadecimal 
  2963.                                   number to a %@AB@%char%@AE@%. If in a %@AB@%char%@AE@% constant,
  2964.                                   the compiler made the cast and then sign
  2965.                                   extended the result. If in a %@AB@%char%@AE@% 
  2966.                                   constant and compiled with /J, the 
  2967.                                   compiler cast the value to an unsigned %@AB@%%@AE@%
  2968.                                   %@AB@%char%@AE@%.  
  2969.  
  2970.                                   For example, ' \\ x1ff ' is out of range
  2971.                                   for a character. Note that the following
  2972.                                   code causes this warning:  
  2973.  
  2974.                                   %@AS@%printf("\\x7Bell\\n");%@AE@%
  2975.  
  2976.                                   The number %@AS@% 7be %@AE@% is a legal hex number, 
  2977.                                   but is too large for a character. To 
  2978.                                   correct this example, use three hex 
  2979.                                   digits:  
  2980.  
  2981.                                   %@AS@%printf("\\x007Bell\\n");%@AE@%
  2982.  
  2983. %@AB@%C4140%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' redefined : preceding %@AE@%
  2984.                                   %@AB@%references may be invalid%@AE@%
  2985.  
  2986.                                   The compiler issues this warning if a 
  2987.                                   function definition changes between 
  2988.                                   incremental compilations.  
  2989.  
  2990.                                   References previous to the redefinition 
  2991.                                   use the previous definition. Subsequent 
  2992.                                   references use the new definition.  
  2993.  
  2994.                                   For example:  
  2995.  
  2996.                                   %@AS@%main()%@AE@%
  2997.                                   %@AS@%{%@AE@%
  2998.                                   %@AS@%func1 ();%@AE@%
  2999.                                   %@AS@%}%@AE@%
  3000.                                   %@AS@%int func1 ()%@AE@%
  3001.                                   %@AS@%{ }%@AE@%
  3002.  
  3003.                                   If this program is compiled with the /Gi
  3004.                                   option, and later the %@AS@% func1 %@AE@% definition
  3005.                                   is changed to %@AS@% long func1%@AE@%, the compiler 
  3006.                                   issues this message to warn that calls 
  3007.                                   to %@AS@% func1 %@AE@% may be of the wrong type.  
  3008.  
  3009.                                   Be sure that function calls reference 
  3010.                                   the correct type; if not, recompile 
  3011.                                   without /Gi. To avoid the problem 
  3012.                                   altogether, use function prototypes.  
  3013.  
  3014. %@AB@%C4185%@AE@%                             %@AB@%near call to '%@AE@%%@AI@%function%@AE@%%@AB@%' in different %@AE@%
  3015.                                   %@AB@%segment%@AE@%
  3016.  
  3017.                                   The given function was specified in an %@AB@%%@AE@%
  3018.                                   %@AB@%alloc_text%@AE@% pragma without being declared
  3019.                                   with %@AB@%_far%@AE@%, and then was called from text
  3020.                                   segment.  
  3021.  
  3022.                                   The compiler generated a near call.  
  3023.  
  3024.                                   Although this is a warning message 
  3025.                                   rather than an error message, the 
  3026.                                   resulting code will not work correctly. 
  3027.  
  3028. %@AB@%C4186%@AE@%                             %@AB@%string too long - truncated to 40 %@AE@%
  3029.                                   %@AB@%characters%@AE@%
  3030.  
  3031.                                   The string argument for a title or 
  3032.                                   subtitle pragma exceeded the maximum 
  3033.                                   allow-able length and was truncated.  
  3034.  
  3035. %@AB@%C4200%@AE@%                             %@AB@%local variable '%@AE@%%@AI@%identifier%@AE@%%@AB@%' used without%@AE@%
  3036.                                   %@AB@%having been initialized%@AE@%
  3037.  
  3038.                                   A reference was made to a local variable
  3039.                                   that had not been assigned a value. As a
  3040.                                   result, the value of the variable is 
  3041.                                   unpredictable.  
  3042.  
  3043.                                   This warning is given only when 
  3044.                                   compiling with global register 
  3045.                                   allocation on (/Oe).  
  3046.  
  3047. %@AB@%C4201%@AE@%                             %@AB@%local variable '%@AE@%%@AI@%identifier%@AE@%%@AB@%' may be used %@AE@%
  3048.                                   %@AB@%without having been initialized%@AE@%
  3049.  
  3050.                                   A reference was made to a local variable
  3051.                                   that might not have been assigned a 
  3052.                                   value. As a result, the value of the 
  3053.                                   variable may be unpredictable.  
  3054.  
  3055.                                   This warning is given only when 
  3056.                                   compiling with the global register 
  3057.                                   allocation on (/Oe).  
  3058.  
  3059. %@AB@%C4202%@AE@%                             %@AB@%unreachable code%@AE@%
  3060.  
  3061.                                   The flow of control can never reach the 
  3062.                                   indicated line.  
  3063.  
  3064.                                   This warning is given only when 
  3065.                                   compiling with one of the global 
  3066.                                   optimizations (/Oe, /Og, or /Ol).  
  3067.  
  3068. %@AB@%C4203%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : function too large for %@AE@%
  3069.                                   %@AB@%global optimizations%@AE@%
  3070.  
  3071.                                   The named function was too large to fit 
  3072.                                   in memory and be compiled with the 
  3073.                                   selected optimization. The compiler did 
  3074.                                   not perform any global optimiza- tions 
  3075.                                   (/Oe, /Og, or /Ol). Other /O 
  3076.                                   optimizations, such as /Oa and /Oi, are 
  3077.                                   still performed.  
  3078.  
  3079.                                   One of the following may remove this 
  3080.                                   warning:  
  3081.  
  3082.                                   ■ Recompile with fewer optimizations.
  3083.  
  3084.                                   ■ Divide the function into two or more 
  3085.                                   smaller functions.
  3086.  
  3087. %@AB@%C4204%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : in-line assembler precludes%@AE@%
  3088.                                   %@AB@%global optimizations%@AE@%
  3089.  
  3090.                                   The use of in-line assembler in the 
  3091.                                   named function prevented the specified 
  3092.                                   global optimizations (/Oe, /Og, or /Ol) 
  3093.                                   from being performed.  
  3094.  
  3095. %@AB@%C4205%@AE@%                             %@AB@%statement has no effect%@AE@%
  3096.  
  3097.                                   The indicated statement will have no 
  3098.                                   effect on the program execution.  
  3099.  
  3100.                                   The following are examples of statements
  3101.                                   with no effect:  
  3102.  
  3103.                                   %@AS@%1;%@AE@%
  3104.                                   %@AS@%a + 1%@AE@%
  3105.                                   %@AS@%; b == c;%@AE@%
  3106.  
  3107. %@AB@%C4206%@AE@%                             %@AB@%assignment within conditional expression%@AE@%
  3108.  
  3109.                                   The test value in a conditional 
  3110.                                   expression was the result of an 
  3111.                                   assignment.  
  3112.  
  3113.                                   This warning is informational.  
  3114.  
  3115.                                   An assignment has a value (the value at 
  3116.                                   the left side of the assignment) that 
  3117.                                   can be used legally in another 
  3118.                                   expression, including a test expression.
  3119.                                   However, the intention may have been to 
  3120.                                   test a relation instead of an assignment.
  3121.  
  3122.                                   For example, the following line, which 
  3123.                                   causes this warning, assigns %@AS@% b %@AE@% to %@AS@% a %@AE@% 
  3124.                                   and compares the value of %@AS@% a %@AE@% with 0:  
  3125.  
  3126.                                   %@AS@%if (a = b) ...%@AE@%
  3127.  
  3128.                                   However, the following line tests 
  3129.                                   whether %@AS@% a %@AE@% and %@AS@% b %@AE@% are equal:  
  3130.  
  3131.                                   %@AS@%if (a == b) ...%@AE@%
  3132.  
  3133. %@AB@%C4209%@AE@%                             %@AB@%comma operator within array index %@AE@%
  3134.                                   %@AB@%expression%@AE@%
  3135.  
  3136.                                   The value used as an index into an array
  3137.                                   was the last one of multiple expressions
  3138.                                   separated by the comma operator.  
  3139.  
  3140.                                   It is legal for an array index to be the
  3141.                                   value of the last expression in a series
  3142.                                   of expressions separated by the comma 
  3143.                                   operator. However, the intent may have 
  3144.                                   been to use the expressions to specify 
  3145.                                   multiple indexes into a multidimensional
  3146.                                   array.  
  3147.  
  3148.                                   For example, the following line, which 
  3149.                                   causes this warning, is legal in C, and 
  3150.                                   specifies the index %@AS@% c %@AE@% into array %@AS@% a:  %@AE@%
  3151.  
  3152.                                   %@AS@%a[b,c]%@AE@%
  3153.  
  3154.                                   However, the following line uses both %@AS@% b%@AE@%
  3155.                                   %@AS@%%@AE@% and %@AS@% c %@AE@% as indexes into a two- 
  3156.                                   dimensional array:  
  3157.  
  3158.                                   %@AS@%a[b][c]%@AE@%
  3159.  
  3160. %@AB@%C4300%@AE@%                             %@AB@%insufficient memory to process debugging%@AE@%
  3161.                                   %@AB@%information%@AE@%
  3162.  
  3163.                                   The program was compiled with the /Zi 
  3164.                                   option, but not enough memory was 
  3165.                                   available to create the required 
  3166.                                   debugging information.  
  3167.  
  3168.                                   One of the following may be a solution: 
  3169.  
  3170.                                   ■ Split the current file into two or 
  3171.                                   more files and compile them separately.
  3172.  
  3173.                                   ■ Remove other programs or drivers 
  3174.                                   running in the system which could be 
  3175.                                   consuming significant amounts of memory.
  3176.  
  3177. %@AB@%C4301%@AE@%                             %@AB@%loss of debugging information caused by %@AE@%
  3178.                                   %@AB@%optimization%@AE@%
  3179.  
  3180.                                   Some optimizations, such as code motion,
  3181.                                   cause references to nested variables to 
  3182.                                   be moved. The information about the 
  3183.                                   level at which the variables are 
  3184.                                   declared may be lost. As a result, all 
  3185.                                   declarations will seem to be at nesting 
  3186.                                   level 1.  
  3187.  
  3188. %@AB@%C4323%@AE@%                             %@AB@%potential divide by 0%@AE@%
  3189.  
  3190.                                   The second operand in a divide operation
  3191.                                   evaluated to zero at compile time, 
  3192.                                   giving undefined results.  
  3193.  
  3194.                                   The 0 operand may have been generated by
  3195.                                   the compiler, as in the following  
  3196.                                   example:  
  3197.  
  3198.                                   %@AS@%func1() { int i,j,k; i /= j && k; }%@AE@%
  3199.  
  3200. %@AB@%C4324%@AE@%                             %@AB@%potential mod by 0%@AE@%
  3201.  
  3202.                                   The second operand in a remainder 
  3203.                                   operation evaluated to zero at compile 
  3204.                                   time, giving undefined results.  
  3205.  
  3206. %@AB@%C4414%@AE@%                             %@AB@%'%@AE@%%@AI@%function%@AE@%%@AB@%' : short jump to function %@AE@%
  3207.                                   %@AB@%converted to near%@AE@%
  3208.  
  3209.                                   Short jumps generate a one-byte 
  3210.                                   instruction. The instruction includes a 
  3211.                                   short offset that represents the 
  3212.                                   distance between the jump and the 
  3213.                                   function definition. The compiler must 
  3214.                                   generate a special record for the jump, 
  3215.                                   which requires the jump to be either %@AB@%%@AE@%
  3216.                                   %@AB@%NEAR%@AE@% or %@AB@%FAR%@AE@%, but not %@AB@%SHORT%@AE@%. The compiler
  3217.                                   made the conversion.  
  3218.  
  3219.                                   For example, the following code causes 
  3220.                                   this warning:  
  3221.  
  3222.                                   %@AS@%main()%@AE@%
  3223.                                   %@AS@%{%@AE@%
  3224.                                   %@AS@%    _asm jmp SHORT main%@AE@%
  3225.                                   %@AS@%}%@AE@%
  3226.  
  3227. %@NL@%
  3228. %@2@%%@CR:C6A00050015 @%%@AB@%5.2  Command-Line Error Messages%@AE@%%@EH@%%@NL@%
  3229. %@NL@%
  3230. Messages that indicate errors on the command line used to invoke the
  3231. compiler have one of the following formats:%@CR:C6A00050016 @%%@CR:C6A00050017 @%%@CR:C6A00050018 @%  %@NL@%
  3232. %@NL@%
  3233. %@AS@%  command line error D2xxx: messagetext  Error
  3234. %@AS@%  command line warning D4xxx: messagetext  Warning%@AE@%%@NL@%
  3235. %@NL@%
  3236. The compiler issues a warning message and, if possible, continues
  3237. processing. In some cases, command-line errors are fatal and the compiler
  3238. terminates processing.  %@NL@%
  3239. %@NL@%
  3240. When the QCL compiler encounters any of the errors listed in this section,
  3241. it terminates, producing no object file.  %@NL@%
  3242. %@NL@%
  3243. %@AB@%Number %@AE@%                           %@AB@%Command-Line Message%@AE@%
  3244. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3245. %@AB@%D2013%@AE@%                             %@AB@%incomplete model specification%@AE@%
  3246.  
  3247.                                   A customized memory model was 
  3248.                                   incompletely specified with the /A%@AI@%string%@AE@%
  3249.                                   option.  
  3250.  
  3251.                                   Two types of options begin with /A:  
  3252.  
  3253.                                   ■ The /A%@AI@%string%@AE@% customized memory-model 
  3254.                                   option requires three letters in the 
  3255.                                   string. The letters specify the 
  3256.                                   code-pointer size, data-pointer size, 
  3257.                                   and data-segment setup attributes of the
  3258.                                   memory model.
  3259.  
  3260.                                   ■ The /A%@AI@%x%@AE@% option for specifying a 
  3261.                                   standard memory model requires one 
  3262.                                   uppercase letter. A lowercase letter is 
  3263.                                   interpreted to be part of a customized 
  3264.                                   memory-model specification. For example:
  3265.  
  3266.                                   %@AS@%qcl /As%@AE@%
  3267.  
  3268. %@STUB@%    A single lowercase letter can be used only if it is a segment setup
  3269.     option and is used in combination with a standard memory model.%@NL@%
  3270. %@NL@%
  3271. %@AB@%D2030%@AE@%                             %@AB@%INTERNAL COMPILER ERROR in '%@AE@%%@AI@%component%@AE@%%@AB@%' %@AE@%
  3272.                                   %@AB@%Contact Microsoft Product Support %@AE@%
  3273.                                   %@AB@%Services%@AE@%
  3274.  
  3275.                                   The driver detects an error in the 
  3276.                                   specified component, which could be P1, 
  3277.                                   P2, P3, MASM, LINK, or BIND.  
  3278.  
  3279.                                   Note the circumstances of the error and 
  3280.                                   notify Microsoft Corporation by 
  3281.                                   following the instructions in the 
  3282.                                   Microsoft Product Assistance Request 
  3283.                                   form at the back of one of your manuals.
  3284.  
  3285. %@AB@%D2031%@AE@%                             %@AB@%too many flags/files on command line%@AE@%
  3286.  
  3287.                                   There are more than 128 arguments 
  3288.                                   combined from the command line and the 
  3289.                                   CL environment variable.  
  3290.  
  3291.                                   Reduce the number of arguments. You can 
  3292.                                   do this by compiling fewer files at one 
  3293.                                   time.  
  3294.  
  3295. %@NL@%
  3296. %@2@%%@CR:C6A00050019 @%%@AB@%5.3  Run-Time Error Message%@AE@%%@EH@%%@NL@%
  3297. %@NL@%
  3298. The following message may be generated at run time.  %@NL@%
  3299. %@NL@%
  3300. A run-time error message takes the following general form:  %@NL@%
  3301. %@NL@%
  3302. %@AI@%run-time error%@AE@% R6%@AI@%nnn%@AE@%- %@AI@%messagetext%@AE@%  %@NL@%
  3303. %@NL@%
  3304. %@AB@%Number%@AE@%                            %@AB@%Run-Time Error Message%@AE@%
  3305. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3306. %@AB@%R6010%@AE@%                             %@AB@%abnormal program termination%@AE@%
  3307.  
  3308.                                   This error is displayed by the abort( ) 
  3309.                                   routine. The program terminates with 
  3310.                                   exit code 3, unless an abort( ) signal 
  3311.                                   handler has been defined by using the 
  3312.                                   signal( ) function.  
  3313.  
  3314. %@NL@%
  3315. %@2@%%@CR:C6A00050020 @%%@AB@%5.4  QLINK Error Messages%@AE@%%@EH@%%@NL@%
  3316. %@NL@%
  3317. This section lists error messages generated by the QuickC linker (QLINK) and
  3318. the special incremental linker (ILINK) that is invoked when you compile
  3319. QuickC programs with the /Gi or /Li option. Note that in most cases, QuickC
  3320. will invoke QLINK if ILINK fails.%@CR:C6A00050021 @%%@CR:C6A00050022 @%  %@NL@%
  3321. %@NL@%
  3322. Fatal errors, which cause the linker to stop execution, have the following
  3323. format:  %@NL@%
  3324. %@NL@%
  3325. %@AS@%  location  : error L1  xxx  :  messagetext%@AE@%%@NL@%
  3326. %@NL@%
  3327. Nonfatal errors, which indicate problems in the executable file, do not
  3328. cause QLINK to stop execution; QLINK produces the executable file. Nonfatal
  3329. error messages have the following format:  %@NL@%
  3330. %@NL@%
  3331. %@AS@%  location  : error L2  xxx  :  messagetext  %@AE@%%@NL@%
  3332. %@NL@%
  3333. Warnings indicate possible problems in the executable file. QLINK produces
  3334. the executable file. Warnings have the following format:  %@NL@%
  3335. %@NL@%
  3336. %@AS@%  location  : warning L4  xxx  :  messagetext  %@AE@%%@NL@%
  3337. %@NL@%
  3338. In all three kinds of messages, %@AI@%location%@AE@% is the input file associated with
  3339. the error, or %@AS@% QLINK %@AE@% if there is no input file. If the input file is an
  3340. .OBJ or .LIB file and a module name is associated with the error, the module
  3341. name is enclosed in paren-theses, as shown in the following examples:  %@NL@%
  3342. %@NL@%
  3343. %@AS@%  SLIBC.LIB(_file)
  3344. %@AS@%  MAIN.OBJ(main.c)
  3345. %@AS@%  TEXT.OBJ%@AE@%%@NL@%
  3346. %@NL@%
  3347. %@NL@%
  3348. %@3@%%@CR:C6A00050023 @%%@AB@%5.4.1  Fatal-Error Messages%@AE@%%@EH@%%@NL@%
  3349. %@NL@%
  3350. The following error messages may appear when you link object files:  %@NL@%
  3351. %@NL@%
  3352. %@AB@%Number%@AE@%                            %@AB@%Run-Time Error Message%@AE@%
  3353. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3354. %@AB@%L1030%@AE@%                             %@AB@%missing internal name%@AE@%
  3355.  
  3356.                                   An IMPORTS statement specified an 
  3357.                                   ordinal in the module-definition file 
  3358.                                   without including the internal name of 
  3359.                                   the routine.  
  3360.  
  3361.                                   The name must be given if the import is 
  3362.                                   by ordinal.  
  3363.  
  3364. %@AB@%L1031%@AE@%                             %@AB@%module description redefined%@AE@%
  3365.  
  3366.                                   A DESCRIPTION statement in the 
  3367.                                   module-definition file was specified 
  3368.                                   more than once.  
  3369.  
  3370. %@AB@%L1032%@AE@%                             %@AB@%module name redefined%@AE@%
  3371.  
  3372.                                   The module name was specified more than 
  3373.                                   once (in a NAME or LIBRARY  statement). 
  3374.  
  3375. %@AB@%L1040%@AE@%                             %@AB@%too many exported entries%@AE@%
  3376.  
  3377.                                   The program exceeded the limit of 65,535
  3378.                                   exported names.  
  3379.  
  3380. %@AB@%L1041%@AE@%                             %@AB@%resident-name table overflow%@AE@%
  3381.  
  3382.                                   The size of the resident-name table 
  3383.                                   exceeds 65,535 bytes.  
  3384.  
  3385.                                   An entry in the resident-name table is 
  3386.                                   made for each exported routine 
  3387.                                   designated RESIDENTNAME, and consists of
  3388.                                   the name plus three bytes of information.
  3389.                                   The first entry is the module name.  
  3390.  
  3391.                                   Reduce the number of exported routines 
  3392.                                   or change some to nonresident status.  
  3393.  
  3394. %@AB@%L1042%@AE@%                             %@AB@%nonresident-name table overflow%@AE@%
  3395.  
  3396.                                   The size of the nonresident-name table 
  3397.                                   exceeds 65,535 bytes.  
  3398.  
  3399.                                   An entry in the nonresident-name table 
  3400.                                   is made for each exported routine not 
  3401.                                   designated RESIDENTNAME, and consists of
  3402.                                   the name plus three bytes of information.
  3403.                                   The first entry is the DESCRIPTION 
  3404.                                   statement.  
  3405.  
  3406.                                   Reduce the number of exported routines 
  3407.                                   or change some to resident status.  
  3408.  
  3409. %@AB@%L1044%@AE@%                             %@AB@%imported-name table overflow%@AE@%
  3410.  
  3411.                                   The size of the imported-names table 
  3412.                                   exceeds 65,535 bytes.  
  3413.  
  3414.                                   An entry in the imported-names table is 
  3415.                                   made for each new name given in the 
  3416.                                   IMPORTS section, including the module 
  3417.                                   names, and consists of the name plus one
  3418.                                   byte.  
  3419.  
  3420.                                   Reduce the number of imports.  
  3421.  
  3422. %@AB@%L1064%@AE@%                             %@AB@%out of memory%@AE@%
  3423.  
  3424.                                   The linker was not able to allocate 
  3425.                                   enough memory from the operating system 
  3426.                                   to link the program.  
  3427.  
  3428.                                   Reduce the size of the program in terms 
  3429.                                   of code, data, and symbols.  
  3430.  
  3431. %@AB@%L1078%@AE@%                             %@AB@%file-segment alignment too small%@AE@%
  3432.  
  3433.                                   The segment-alignment size given with 
  3434.                                   the /ALIGNMENT:%@AI@%number%@AE@% option was too 
  3435.                                   small.  
  3436.  
  3437.                                   Try increasing the number.  
  3438.  
  3439. %@AB@%L1092%@AE@%                             %@AB@%cannot open module-definition file%@AE@%
  3440.  
  3441.                                   The linker could not open the 
  3442.                                   module-definition file specified on the 
  3443.                                   command line or in the response file.  
  3444.  
  3445. %@AB@%L1115%@AE@%                             %@AB@%'%@AE@%%@AI@%option%@AE@%%@AB@%' : option incompatible with %@AE@%
  3446.                                   %@AB@%overlays%@AE@%
  3447.  
  3448.                                   The given option is not compatible with 
  3449.                                   overlays.  
  3450.  
  3451.                                   Remove the option or else do not use 
  3452.                                   overlaid modules.  
  3453.  
  3454. %@NL@%
  3455. %@3@%%@CR:C6A00050024 @%%@AB@%5.4.2  Nonfatal-Error Messages%@AE@%%@EH@%%@NL@%
  3456. %@NL@%
  3457. The following nonfatal-error messages may appear when you link object files:
  3458. %@NL@%
  3459. %@NL@%
  3460. %@AB@%Number%@AE@%                            %@AB@%Error Message%@AE@%
  3461. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3462. %@AB@%L2000%@AE@%                             %@AB@%imported starting address%@AE@%
  3463.  
  3464.                                   The program starting address as 
  3465.                                   specified in the END statement in a MASM
  3466.                                   file is an imported routine.  
  3467.  
  3468. %@AB@%L2022%@AE@%                             %@AB@%'%@AE@%%@AI@%routine%@AE@%%@AB@%' (alias '%@AE@%%@AI@%internalname%@AE@%%@AB@%') : %@AE@%
  3469.                                   %@AB@%export undefined%@AE@%
  3470.  
  3471.                                   The internal name of the given exported 
  3472.                                   routine is undefined.  
  3473.  
  3474. %@AB@%L2023%@AE@%                             %@AB@%'%@AE@%%@AI@%routine%@AE@%%@AB@%' (alias '%@AE@%%@AI@%internalname%@AE@%%@AB@%') : %@AE@%
  3475.                                   %@AB@%export imported%@AE@%
  3476.  
  3477.                                   The internal name of the given exported 
  3478.                                   routine conflicts with the internal name
  3479.                                   of a previously imported routine. The 
  3480.                                   set of imported and exported names 
  3481.                                   cannot overlap.  
  3482.  
  3483. %@AB@%L2026%@AE@%                             %@AB@%entry ordinal '%@AE@%%@AI@%number%@AE@%%@AB@%', name '%@AE@%%@AI@%name%@AE@%%@AB@%' : %@AE@%
  3484.                                   %@AB@%multiple definitions for same ordinal%@AE@%
  3485.  
  3486.                                   The given exported name with the given 
  3487.                                   ordinal number conflicted with a 
  3488.                                   different exported name previously 
  3489.                                   assigned to the same ordinal. Only one 
  3490.                                   name can be associated with a particular
  3491.                                   ordinal.  
  3492.  
  3493. %@AB@%L2027%@AE@%                             %@AB@%'%@AE@%%@AI@%name%@AE@%%@AB@%' : ordinal too large for export%@AE@%
  3494.  
  3495.                                   The given exported name was assigned an 
  3496.                                   ordinal that exceeded the limit of 
  3497.                                   65,535.  
  3498.  
  3499. %@AB@%L2028%@AE@%                             %@AB@%automatic data segment plus heap exceed %@AE@%
  3500.                                   %@AB@%64K%@AE@%
  3501.  
  3502.                                   The total size of data declared in 
  3503.                                   DGROUP, plus the value given in HEAPSIZE
  3504.                                   in the module-definition file, plus the 
  3505.                                   stack size given by the /STACK option or
  3506.                                   STACKSIZE module-definition file 
  3507.                                   statement, exceeds 64K.  
  3508.  
  3509.                                   Reduce near-data allocation, HEAPSIZE, 
  3510.                                   or stack.  
  3511.  
  3512. %@AB@%L2049%@AE@%                             %@AB@%no segments defined%@AE@%
  3513.  
  3514.                                   No code or initialized data was defined 
  3515.                                   in the program. The resulting executable
  3516.                                   file is not likely to be valid.  
  3517.  
  3518. %@AB@%L2050%@AE@%                             %@AB@%16/32 bit attribute conflict - segment: %@AE@%
  3519.                                   %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' in group: '%@AE@%%@AI@%group%@AE@%%@AB@%'%@AE@%
  3520.  
  3521.                                   16-bit segments cannot be grouped with 
  3522.                                   32-bit segments.  
  3523.  
  3524. %@AB@%L2051%@AE@%                             %@AB@%start address not equal to 0x100 for %@AE@%
  3525.                                   %@AB@%/TINY%@AE@%
  3526.  
  3527.                                   The program starting address, as 
  3528.                                   specified in the .COM file, must have a 
  3529.                                   starting value equal to 100 hex (0x100 
  3530.                                   or 0x0100). Any other value is illegal. 
  3531.  
  3532.                                   Put the following line of assembly 
  3533.                                   source code in front of the code 
  3534.                                   segment:  
  3535.  
  3536.                                   %@AS@%ORG 100h%@AE@%  
  3537.  
  3538. %@AB@%L2052%@AE@%                             %@AB@%'%@AE@%%@AI@%symbol%@AE@%%@AB@%' : unresolved external - %@AE@%
  3539.                                   %@AB@%possible calling convention mismatch%@AE@%
  3540.  
  3541.                                   A symbol was declared to be external in 
  3542.                                   one or more modules, but the linker 
  3543.                                   could not find it publicly defined in 
  3544.                                   any module or library.  
  3545.  
  3546.                                   The name of the unresolved external 
  3547.                                   symbol is given, then a list of object 
  3548.                                   modules which contain references to this
  3549.                                   symbol is given. The error message and 
  3550.                                   the list are written to the map file, if
  3551.                                   one exists.  
  3552.  
  3553.                                   This error occurs when a prototype for 
  3554.                                   an externally defined function is 
  3555.                                   omitted from a program that is compiled 
  3556.                                   with the Fastcall option (/Ox). The 
  3557.                                   calling convention for fastcall does not
  3558.                                   match the assumptions that are made when
  3559.                                   a prototype is not included for an 
  3560.                                   external function.  
  3561.  
  3562.                                   Either include a prototype for the 
  3563.                                   function, or compile without the /Ox 
  3564.                                   option.  
  3565.  
  3566. %@NL@%
  3567. %@3@%%@CR:C6A00050025 @%%@AB@%5.4.3  Warning Messages%@AE@%%@EH@%%@NL@%
  3568. %@NL@%
  3569. The following warning messages may appear when you link object files:  %@NL@%
  3570. %@NL@%
  3571. %@AB@%Number%@AE@%                            %@AB@%Warning Message%@AE@%
  3572. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3573. %@AB@%L4004%@AE@%                             %@AB@%possible fixup overflow at '%@AE@%%@AI@%offset%@AE@%%@AB@%' in %@AE@%
  3574.                                   %@AB@%segment '%@AE@%%@AI@%segment%@AE@%%@AB@%'%@AE@%
  3575.  
  3576.                                   A near call/jump was made to another 
  3577.                                   segment which was not a member of the 
  3578.                                   same group as the segment from which the
  3579.                                   call/jump was made.  
  3580.  
  3581.                                   This call/jump can cause an incorrect 
  3582.                                   address calculation when the distance 
  3583.                                   between the paragraph address (frame 
  3584.                                   number) of the segment group and the 
  3585.                                   target segment is greater than 64K, even
  3586.                                   when the distance between the segment 
  3587.                                   where the call/jump was actually made 
  3588.                                   and the target segment is less than 64K.
  3589.  
  3590. %@AB@%L4017%@AE@%                             %@AB@%'%@AE@%%@AI@%option%@AE@%%@AB@%' : unrecognized option name; %@AE@%
  3591.                                   %@AB@%option ignored%@AE@%
  3592.  
  3593.                                   An unrecognized character followed the 
  3594.                                   option indicator (/).  
  3595.  
  3596.                                   An example of this warning is  
  3597.  
  3598.                                   %@AS@%QLINK /ABCDEF main;%@AE@%
  3599.  
  3600. %@AB@%L4019%@AE@%                             %@AB@%/TINY disables /INCREMENTAL%@AE@%
  3601.  
  3602.                                   A .COM file always requires a full link 
  3603.                                   and cannot be incrementally linked.  
  3604.  
  3605.                                   The /TINY and /INCREMENTAL options are 
  3606.                                   incompatible. When they are used 
  3607.                                   together, the linker ignores 
  3608.                                   /INCREMENTAL.  
  3609.  
  3610. %@AB@%L4023%@AE@%                             %@AB@%'%@AE@%%@AI@%routine%@AE@%%@AB@%' ('%@AE@%%@AI@%internalname%@AE@%%@AB@%') : export %@AE@%
  3611.                                   %@AB@%internal name conflict%@AE@%
  3612.  
  3613.                                   The internal name of the given exported 
  3614.                                   routine conflicted with the internal 
  3615.                                   name of a previous import definition or 
  3616.                                   export definition.  
  3617.  
  3618. %@AB@%L4024%@AE@%                             %@AB@%'%@AE@%%@AI@%name%@AE@%%@AB@%' : multiple definitions for export%@AE@%
  3619.                                   %@AB@%name%@AE@%
  3620.  
  3621.                                   The given name was exported more than 
  3622.                                   once, an action that is not allowed.  
  3623.  
  3624. %@AB@%L4025%@AE@%                             %@AB@%'%@AE@%%@AI@%modulename%@AE@%%@AB@%'.'%@AE@%%@AI@%importname%@AE@%%@AB@%'('%@AE@%%@AI@%internalname%@AE@%%@AB@%')%@AE@%
  3625.                                   %@AB@%: import internal name conflict%@AE@%
  3626.  
  3627.                                   The internal name of the given imported 
  3628.                                   routine (import is either a name or a 
  3629.                                   number) conflicted with the internal 
  3630.                                   name of a previous export or import.  
  3631.  
  3632. %@AB@%L4026%@AE@%                             %@AB@%'%@AE@%%@AI@%modulename%@AE@%%@AB@%'.'%@AE@%%@AI@%importname%@AE@%%@AB@%'('%@AE@%%@AI@%internalname%@AE@%%@AB@%')%@AE@%
  3633.                                   %@AB@%: self-imported%@AE@%
  3634.  
  3635.                                   The given imported routine was imported 
  3636.                                   from the module being linked. This is 
  3637.                                   not supported on some systems.  
  3638.  
  3639. %@AB@%L4027%@AE@%                             %@AB@%'%@AE@%%@AI@%name%@AE@%%@AB@%' : multiple definitions for import%@AE@%
  3640.                                   %@AB@%internal name%@AE@%
  3641.  
  3642.                                   The given internal name was imported 
  3643.                                   more than once. Previous import 
  3644.                                   definitions are ignored.  
  3645.  
  3646. %@AB@%L4028%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' : segment already defined%@AE@%
  3647.  
  3648.                                   The given segment was defined more than 
  3649.                                   once in the SEGMENTS statement of the 
  3650.                                   module-definition file.  
  3651.  
  3652. %@AB@%L4030%@AE@%                             %@AB@%'%@AE@%%@AI@%segment%@AE@%%@AB@%' : segment attributes changed %@AE@%
  3653.                                   %@AB@%to conform with automatic data segment%@AE@%
  3654.  
  3655.                                   The given logical segment in the group 
  3656.                                   DGROUP was given sharing attributes 
  3657.                                   (SHARED/NONSHARED) that differed from 
  3658.                                   the automatic data attributes as 
  3659.                                   declared by the DATA instance 
  3660.                                   specification (SINGLE/MULTIPLE). The 
  3661.                                   attri-butes are converted to conform to 
  3662.                                   those of DGROUP.  
  3663.  
  3664.                                   The name DGROUP is predefined as the 
  3665.                                   automatic data segment. DGROUP cannot 
  3666.                                   contain code segments because the linker
  3667.                                   always considers DGROUP to be a data 
  3668.                                   segment.  
  3669.  
  3670. %@AB@%L4040%@AE@%                             %@AB@%stack size ignored for /TINY%@AE@%
  3671.  
  3672.                                   The linker ignores stack size if /TINY 
  3673.                                   is given and if the stack segment has 
  3674.                                   been defined in front of the code 
  3675.                                   segment.  
  3676.  
  3677. %@AB@%L4042%@AE@%                             %@AB@%cannot open old version%@AE@%
  3678.  
  3679.                                   The file specified in the OLD statement 
  3680.                                   in the module-definition file could not 
  3681.                                   be opened.  
  3682.  
  3683. %@AB@%L4045%@AE@%                             %@AB@%name of output file is '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  3684.  
  3685.                                   The linker had to change the name of the
  3686.                                   output file to the given file name.  
  3687.  
  3688.                                   If the output file is specified without 
  3689.                                   an extension, the linker assumes the 
  3690.                                   default extension .EXE. Creating a Quick
  3691.                                   library, .DLL file, or .COM file forces 
  3692.                                   the linker to use an extension other 
  3693.                                   than .EXE:  
  3694.  
  3695. %@AB@%Output File Specification%@AE@%         %@AB@%Extension%@AE@%
  3696. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3697. /TINY option                      .COM
  3698.  
  3699. /QUICKLIB option                  .QLB 
  3700.  
  3701. LIBRARY statement in .DEF file    .DLL
  3702.  
  3703. %@AB@%L4047%@AE@%                             %@AB@%Multiple code segments in module of %@AE@%
  3704.                                   %@AB@%overlaid program incompatible with %@AE@%
  3705.                                   %@AB@%/CODEVIEW%@AE@%
  3706.  
  3707.                                   When debugging with CodeView, if there 
  3708.                                   are multiple code segments defined in 
  3709.                                   one module (.OBJ file) by use of the 
  3710.                                   compiler %@AB@%#pragma alloc_text()%@AE@% and the 
  3711.                                   program is built as an overlaid program,
  3712.                                   you can access the symbolic information 
  3713.                                   for only the first code segment in 
  3714.                                   overlay. Symbolic information for the 
  3715.                                   rest of the code segments in overlay is 
  3716.                                   not accessible.  
  3717.  
  3718. %@NL@%
  3719. %@2@%%@CR:C6A00050026 @%%@AB@%5.5  NMAKE Error Messages%@AE@%%@EH@%%@NL@%
  3720. %@NL@%
  3721. Error messages from the NMAKE utility have one of the following formats:%@CR:C6A00050027 @%%@CR:C6A00050028 @%  %@NL@%
  3722. %@NL@%
  3723. %@AS@%  {filename |  NMAKE} :  fatal error U1  xxx: messagetext
  3724. %@AS@%  {filename |  NMAKE} :  warning U4  xxx: messagetext%@AE@%%@NL@%
  3725. %@NL@%
  3726. The message begins with the input-file name (%@AI@%filename%@AE@%) and line number, if
  3727. one exists, or with the name of the utility.  %@NL@%
  3728. %@NL@%
  3729. %@NL@%
  3730. %@3@%%@CR:C6A00050029 @%%@AB@%5.5.1  Fatal-Error Messages%@AE@%%@EH@%%@NL@%
  3731. %@NL@%
  3732. NMAKE generates the following error messages:  %@NL@%
  3733. %@NL@%
  3734. %@AB@%Number%@AE@%                            %@AB@%Error message%@AE@%
  3735. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3736. %@AB@%U1006%@AE@%                             %@AB@%syntax: missing closing double quotation%@AE@%
  3737.                                   %@AB@%mark%@AE@%
  3738.  
  3739.                                   An opening double quotation mark (") 
  3740.                                   appeared without a closing double 
  3741.                                   quotation mark.  
  3742.  
  3743. %@AB@%U1007%@AE@%                             %@AB@%double quotation mark not allowed in %@AE@%
  3744.                                   %@AB@%name%@AE@%
  3745.  
  3746.                                   The specified target name or file name 
  3747.                                   contained a double quotation mark (").  
  3748.  
  3749.                                   Double quotation marks can surround a 
  3750.                                   file name but not be contained within it.
  3751.  
  3752. %@AB@%U1045%@AE@%                             %@AB@%'internal error message'%@AE@%
  3753.  
  3754.                                   Note the circumstances of the error and 
  3755.                                   notify Microsoft Corporation by 
  3756.                                   following the instructions in the 
  3757.                                   Microsoft Product Assistance Request 
  3758.                                   form at the back of one of your manuals.
  3759.  
  3760. %@AB@%U1051%@AE@%                             %@AB@%out of memory%@AE@%
  3761.  
  3762.                                   The program ran out of space in the far 
  3763.                                   heap.  
  3764.  
  3765.                                   Split the description file into smaller 
  3766.                                   and simpler pieces.  
  3767.  
  3768. %@AB@%U1052%@AE@%                             %@AB@%file '%@AE@%%@AI@%filename%@AE@%%@AB@%' not found%@AE@%
  3769.  
  3770.                                   The file was not found.  
  3771.  
  3772.                                   The file name may not be properly 
  3773.                                   specified in the makefile.  
  3774.  
  3775. %@AB@%U1053%@AE@%                             %@AB@%file '%@AE@%%@AI@%filename%@AE@%%@AB@%' unreadable%@AE@%
  3776.  
  3777.                                   The file cannot be read.  
  3778.  
  3779.                                   The following are possible causes of 
  3780.                                   this error:  
  3781.  
  3782.                                   ■ The file does not have appropriate 
  3783.                                   attributes for reading.
  3784.  
  3785.                                   ■ A bad area exists on disk.
  3786.  
  3787.                                   ■ A bad file-allocation table exists.
  3788.  
  3789.                                   ■ The file is locked.
  3790.  
  3791. %@AB@%U1054%@AE@%                             %@AB@%cannot create in-line file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  3792.  
  3793.                                   NMAKE failed in its attempt to create 
  3794.                                   the file given by name.%@AI@%  %@AE@%
  3795.  
  3796.                                   The following are possible causes of 
  3797.                                   this error:  
  3798.  
  3799.                                   ■ The file already exists with a 
  3800.                                   read-only attribute.
  3801.  
  3802.                                   ■ There is insufficient disk space to 
  3803.                                   create the file.
  3804.  
  3805. %@AB@%U1055%@AE@%                             %@AB@%out of environment space%@AE@%
  3806.  
  3807.                                   The environment space limit was reached.
  3808.  
  3809.                                   Restart the program with a larger 
  3810.                                   environment space or with fewer 
  3811.                                   environment variables.  
  3812.  
  3813. %@AB@%U1056%@AE@%                             %@AB@%cannot find command processor%@AE@%
  3814.  
  3815.                                   The command processor was not found.  
  3816.  
  3817.                                   NMAKE uses COMMAND.COM or CMD.EXE as a 
  3818.                                   command processor to execute commands. 
  3819.                                   It looks for the command processor first
  3820.                                   by the full path name given by the 
  3821.                                   COMSPEC environment variable. If COMSPEC
  3822.                                   does not exist, NMAKE searches the 
  3823.                                   directories specified by the PATH 
  3824.                                   environment variable.  
  3825.  
  3826. %@AB@%U1057%@AE@%                             %@AB@%cannot delete temporary file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  3827.  
  3828.                                   NMAKE failed to delete the temporary 
  3829.                                   in-line file.  
  3830.  
  3831. %@AB@%U1058%@AE@%                             %@AB@%terminated by user%@AE@%
  3832.  
  3833.                                   Execution of NMAKE was aborted by CTRL+C
  3834.                                   or CTRL+BREAK.  
  3835.  
  3836. %@AB@%U1060%@AE@%                             %@AB@%unable to close file : '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  3837.  
  3838.                                   NMAKE encountered an error while closing
  3839.                                   a file.  
  3840.  
  3841.                                   One of the following may have occurred: 
  3842.  
  3843.                                   ■ The file is a read-only file.
  3844.  
  3845.                                   ■ There is a locking or sharing 
  3846.                                   violation.
  3847.  
  3848.                                   ■ The disk is full.
  3849.  
  3850. %@AB@%U1061%@AE@%                             %@AB@%/F option requires a file name%@AE@%
  3851.  
  3852.                                   The /F command-line option requires the 
  3853.                                   name of the description file to be 
  3854.                                   specified.  
  3855.  
  3856.                                   To use standard input, specify '-' as 
  3857.                                   the description file name.  
  3858.  
  3859. %@AB@%U1062%@AE@%                             %@AB@%missing file name with /X option%@AE@%
  3860.  
  3861.                                   The /X command-line option requires the 
  3862.                                   name of the file to which diagnostic 
  3863.                                   error output should be redirected.  
  3864.  
  3865.                                   To use standard input, specify '-' as 
  3866.                                   the output file name.  
  3867.  
  3868. %@AB@%U1063%@AE@%                             %@AB@%missing macro name before '='%@AE@%
  3869.  
  3870.                                   NMAKE detected an equal sign (=) without
  3871.                                   a preceding name.  
  3872.  
  3873.                                   This error can occur in a recursive call
  3874.                                   when the macro corresponding to the 
  3875.                                   macro name expands to nothing.  
  3876.  
  3877. %@AB@%U1064%@AE@%                             %@AB@%MAKEFILE not found and no target %@AE@%
  3878.                                   %@AB@%specified%@AE@%
  3879.  
  3880.                                   No description file was found, and no 
  3881.                                   target was specified.  
  3882.  
  3883.                                   A description file can be specified 
  3884.                                   either with the /F option or through the
  3885.                                   default file MAKEFILE. Note that NMAKE 
  3886.                                   can create a target using an inference 
  3887.                                   rule even if no description file is 
  3888.                                   specified.  
  3889.  
  3890. %@AB@%U1065%@AE@%                             %@AB@%invalid option '%@AE@%%@AI@%option%@AE@%%@AB@%'%@AE@%
  3891.  
  3892.                                   The option specified is not a valid 
  3893.                                   option for NMAKE.  
  3894.  
  3895. %@AB@%U1066%@AE@%                             %@AB@%option '/N' not supported; use NMAKE%@AE@%
  3896.  
  3897.                                   NMAKE's shell program NMK.COM does not 
  3898.                                   support the /N option.  
  3899.  
  3900.                                   Use NMAKE /N.  
  3901.  
  3902. %@AB@%U1083%@AE@%                             %@AB@%target macro '$(macroname)' expands to %@AE@%
  3903.                                   %@AB@%nothing%@AE@%
  3904.  
  3905.                                   A target was specified as a macro name 
  3906.                                   that has not been defined or has null 
  3907.                                   value.  
  3908.  
  3909.                                   NMAKE cannot process a null target.  
  3910.  
  3911. %@AB@%U1084%@AE@%                             %@AB@%in-line file not allowed in inference %@AE@%
  3912.                                   %@AB@%rules%@AE@%
  3913.  
  3914.                                   In-line file syntax is not allowed in 
  3915.                                   inference rules and can be used only in 
  3916.                                   a target-dependency block.  
  3917.  
  3918. %@AB@%U1094%@AE@%                             %@AB@%syntax error : only (no)keep allowed %@AE@%
  3919.                                   %@AB@%here%@AE@%
  3920.  
  3921.                                   Something other than KEEP or NOKEEP 
  3922.                                   appeared at the end of the syntax for 
  3923.                                   creating an in-line file.  
  3924.  
  3925.                                   The syntax for generating an in-line 
  3926.                                   file allows an action to be specified 
  3927.                                   after the second pair of angle brackets.
  3928.                                   Valid actions are KEEP and NOKEEP. Other
  3929.                                   actions are errors.  
  3930.  
  3931.                                   The KEEP option specifies that NMAKE 
  3932.                                   should leave the in-line file on disk. 
  3933.                                   The NOKEEP option causes NMAKE to delete
  3934.                                   the file before exiting. The default is 
  3935.                                   NOKEEP.  
  3936.  
  3937. %@AB@%U1095%@AE@%                             %@AB@%expanded command line '%@AE@%%@AI@%commandline%@AE@%%@AB@%' too %@AE@%
  3938.                                   %@AB@%long%@AE@%
  3939.  
  3940.                                   After macro expansion, the command line 
  3941.                                   shown exceeded the length limit for 
  3942.                                   command lines for the operating system. 
  3943.  
  3944.                                   DOS permits up to 128 characters on a 
  3945.                                   command line.  
  3946.  
  3947.                                   If the command is a QLINK command line, 
  3948.                                   use a response file.  
  3949.  
  3950. %@AB@%U1096%@AE@%                             %@AB@%cannot open file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  3951.  
  3952.                                   The given file could not be opened, 
  3953.                                   either because the disk was full or 
  3954.                                   because the file has been set to be 
  3955.                                   read-only.  
  3956.  
  3957. %@AB@%U1097%@AE@%                             %@AB@%extmake syntax usage error, no dependent%@AE@%
  3958.  
  3959.                                   No dependent was given.  
  3960.  
  3961.                                   In extmake syntax, the target under 
  3962.                                   consideration must have either an 
  3963.                                   implicit dependent or an explicit 
  3964.                                   dependent.  
  3965.  
  3966. %@AB@%U1098%@AE@%                             %@AB@%extmake syntax in '%@AE@%%@AI@%string%@AE@%%@AB@%' incorrect%@AE@%
  3967.  
  3968.                                   The part of the string shown contains an
  3969.                                   extmake syntax error.  
  3970.  
  3971. %@NL@%
  3972. %@3@%%@CR:C6A00050030 @%%@AB@%5.5.2  Compilation-Error Message%@AE@%%@EH@%%@NL@%
  3973. %@NL@%
  3974. NMAKE generates the following compilation-error messages:  %@NL@%
  3975. %@NL@%
  3976. %@AB@%Number%@AE@%                            %@AB@%Compilation-Error Message%@AE@%
  3977. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  3978. %@AB@%U2001%@AE@%                             %@AB@%no more file handles (too many files %@AE@%
  3979.                                   %@AB@%open)%@AE@%
  3980.  
  3981.                                   NMAKE could not find a free file handle.
  3982.  
  3983.                                   One of the following may be a solution: 
  3984.  
  3985.                                   ■ Reduce recursion in the build 
  3986.                                   procedures.
  3987.  
  3988.                                   ■ Increase the number of file handles by
  3989.                                   changing the FILES setting in
  3990.                                   CONFIG.SYS to allow a larger number of 
  3991.                                   open files. FILES =20 is the recommended
  3992.                                   setting.
  3993.  
  3994. %@NL@%
  3995. %@3@%%@CR:C6A00050031 @%%@AB@%5.5.3  Warning Messages%@AE@%%@EH@%%@NL@%
  3996. %@NL@%
  3997. NMAKE generates the following warning messages:  %@NL@%
  3998. %@NL@%
  3999. %@AB@%Number%@AE@%                            %@AB@%Warning Message%@AE@%
  4000. %@AB@%────────────────────────────────────────────────────────────────────────────%@AE@%%@NL@%
  4001. %@AB@%U4001%@AE@%                             %@AB@%command file can be invoked only from %@AE@%
  4002.                                   %@AB@%command line%@AE@%
  4003.  
  4004.                                   A command file cannot be invoked from 
  4005.                                   within another command file. Such an 
  4006.                                   invocation is ignored.  
  4007.  
  4008.                                   The command file should contain the 
  4009.                                   entire remaining command line.  
  4010.  
  4011. %@AB@%U4002%@AE@%                             %@AB@%resetting value of special macro '%@AE@%%@AI@%%@AE@%
  4012.                                   %@AI@%macroname%@AE@%%@AB@%'%@AE@%
  4013.  
  4014.                                   The value of a macro such as $(MAKE) was
  4015.                                   changed within a description file.  
  4016.  
  4017.                                   The name by which this program was 
  4018.                                   invoked is not a tagged section in the 
  4019.                                   TOOLS.INI file.  
  4020.  
  4021. %@AB@%U4003%@AE@%                             %@AB@%no match found for wild card '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  4022.  
  4023.                                   There are no file names that match the 
  4024.                                   specified target or dependent file with 
  4025.                                   the wild-card characters asterisk (*) 
  4026.                                   and question mark (?).  
  4027.  
  4028. %@AB@%U4004%@AE@%                             %@AB@%too many rules for target '%@AE@%%@AI@%targetname%@AE@%%@AB@%'%@AE@%
  4029.  
  4030.                                   Multiple blocks of build commands were 
  4031.                                   specified for a target using single 
  4032.                                   colons (:) as separators.  
  4033.  
  4034. %@AB@%U4005%@AE@%                             %@AB@%ignoring rule '%@AE@%%@AI@%rule%@AE@%%@AB@%' (extension not in %@AE@%
  4035.                                   %@AB@%.SUFFIXES)%@AE@%
  4036.  
  4037.                                   The rule was ignored because the 
  4038.                                   suffix(es) in the rule are not listed in
  4039.                                   the .SUFFIXES list.  
  4040.  
  4041. %@AB@%U4006%@AE@%                             %@AB@%special macro undefined : '%@AE@%%@AI@%macroname%@AE@%%@AB@%'%@AE@%
  4042.  
  4043.                                   The special macro name is undefined and 
  4044.                                   expands to nothing.  
  4045.  
  4046. %@AB@%U4007%@AE@%                             %@AB@%file name '%@AE@%%@AI@%filename%@AE@%%@AB@%' too long; %@AE@%
  4047.                                   %@AB@%truncating to 8.3%@AE@%
  4048.  
  4049.                                   The base name of the file has more than 
  4050.                                   eight characters, or the extension has 
  4051.                                   more than three characters. NMAKE 
  4052.                                   truncates the name to an eight-character
  4053.                                   base and a three-character extension.  
  4054.  
  4055. %@AB@%U4008%@AE@%                             %@AB@%removed target '%@AE@%%@AI@%target%@AE@%%@AB@%'%@AE@%
  4056.  
  4057.                                   Execution of NMAKE was interrupted while
  4058.                                   NMAKE was trying to build the given 
  4059.                                   target, and therefore the target was 
  4060.                                   incomplete. Because the target was not 
  4061.                                   specified in the .PRECIOUS list, NMAKE 
  4062.                                   has deleted it.  
  4063.  
  4064. %@AB@%U4009%@AE@%                             %@AB@%duplicate in-line file '%@AE@%%@AI@%filename%@AE@%%@AB@%'%@AE@%
  4065.  
  4066.                                   The given file name is the same as the 
  4067.                                   name of an earlier in-line file.  
  4068.  
  4069.                                   Reuse of this name caused the earlier 
  4070.                                   file to be overwritten. This will 
  4071.                                   probably cause unexpected results.  
  4072.  
  4073. %@NL@%
  4074. %@NL@%
  4075.