home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 20.ddi / DOC.PAK / ERRMSGS.TXT < prev    next >
Encoding:
Text File  |  1993-12-02  |  16.2 KB  |  432 lines

  1.                                ERRMSGS.TXT
  2.                                ===========
  3.  
  4. This file contains error and warning messages that can be generated by
  5. Borland C++ 4.0. For additional messages, refer to the "Error
  6. messages" appendix in the "Borland C++ User's Guide."
  7.  
  8. MESSAGE EXPLANATIONS
  9. ====================
  10.  
  11. Alias 'alias' defined in module 'module' is redefined
  12.   Linker warning
  13.     An ALIAS definition record specified a public symbol substitute
  14.     that was already defined by another ALIAS. The second public
  15.     symbol substitute will be used. ALIAS records are generated by
  16.     the assembler when the ALIAS directive is used.
  17.  
  18. Assembler stack overflow
  19.   Compiler error
  20.     The assembler ran out of memory during compilation. Review the
  21.     portion of code flagged by the error message to ensure that it
  22.     uses memory correctly.
  23.  
  24. Automatic data segment exceeds 64K
  25.   Linker error
  26.     The sum of the DGROUP physical segment, local heap, and stack
  27.     exceeds 64K. Fix this by specifying smaller values for the
  28.     HEAPSIZE and STACKSIZE statements in the module definition file
  29.     or by decreasing the size of the near data in DGROUP. The map
  30.     file shows the sizes of the component segments in DGROUP. The /s
  31.     TLINK command-line option is useful for determining how much each
  32.     module contributes to DGROUP.
  33.  
  34. Base class 'class' is also a base class of 'class'
  35.   Compiler warning
  36.     A class inherits from the same base class both directly and
  37.     indirectly. It is best to avoid this non-portable construct in
  38.     your program code.
  39.  
  40. Can't inherit non-RTTI class from RTTI base 'class'
  41. Can't inherit RTTI class from non-RTTI base 'class'
  42.   Compiler error
  43.     When virtual functions are present, the RTTI attribute of all
  44.     base classes must match that of the derived class.
  45.  
  46. Cannot create pre-compiled header: code in header
  47.   Compiler warning
  48.     One of the headers contained a non-inline function body.
  49.  
  50. Cannot create pre-compiled header: initialized data in header
  51.   Compiler warning
  52.     One of the headers contained a global variable definition. In a C
  53.     header, this message indicates that a global variable was
  54.     initialized. In C++ header, this message indicates that a
  55.     variable was not declared "extern."
  56.  
  57. Cannot create pre-compiled header: header incomplete
  58.   Compiler warning
  59.     The pre-compiled header ended in the middle of a declaration.
  60.     This often happens when there is a missing "}" in a class
  61.     definition that is located in a header file.
  62.  
  63. Cannot create pre-compiled header: write failed
  64.   Compiler warning
  65.     The compiler could not write to the pre-compiled header file.
  66.     This is usually due to a full disk or a disk that is write
  67.     protected.
  68.  
  69. Cannot use tiny or huge memory model with Windows
  70.   Compiler error
  71.     You must use the small, medium, compact, or large memory models
  72.     when compiling Windows programs.
  73.  
  74. Compiler stack overflow
  75.   Compiler error
  76.     The compiler ran out of memory during compilation. Review the
  77.     portion of code flagged by the error message to ensure that it
  78.     uses memory correctly.
  79.  
  80. Couldn't build command line to RLINK.EXE
  81.   Linker error
  82.     The command line that was generated by the command line linker
  83.     was longer than 128 bytes. RLINK.EXE was not run on the EXE.
  84.     Shorten the file names passed in the .RES file list, put in fewer
  85.     .RES files, or run RLINK separately.
  86.  
  87. Couldn't exec RLINK.EXE
  88.   Linker error
  89.     The command-line linker could not spawn RLINK.EXE to bind
  90.     resources. Check to make sure that RLINK.EXE is on your path.
  91.  
  92. Debugging information overflow->try fewer modules with debug
  93. information
  94.   Linker error
  95.     This message is generated when you have more than 64K types or
  96.     symbols in a single OBJ file, or if you get more than 64K
  97.     modules, source files (including .h files), scopes, logical debug
  98.     segments, classes or optimized variables in the link. The
  99.     solution is to turn off debug information in a few object
  100.     modules.
  101.  
  102. DOSSEG directive ignored in "module"
  103.   Linker warning
  104.     This warning indicates that the DOSSEG directive is no longer
  105.     supported by the linker.
  106.  
  107. "filename" ("linenum"): Duplicate external name in exports
  108.   Linker warning
  109.     Two export functions listed in the EXPORTS section of a module
  110.     definition file defined the same external name. For example:
  111.  
  112.     EXPORTS
  113.         AnyProc=MyProc1
  114.         AnyProc=MyProc2
  115.  
  116. Duplicate file %s in list, not added!
  117.   Librarian error
  118.     When building a library module, you specified an object file more
  119.     that once.
  120.  
  121. "filename" ("linenum"): Duplicate internal name in exports
  122.   Linker warning
  123.     Two export functions listed in the EXPORTS section of the module
  124.     definition file defined the same internal name. For example:
  125.  
  126.     EXPORTS
  127.         AnyProc1=MyProc
  128.         AnyProc2=MyProc
  129.  
  130. "filename" ("linenum"): Duplicate internal name in imports
  131.   Linker warning
  132.     Two import functions listed in the IMPORTS section of the module
  133.     definition file defined the same internal name. For example:
  134.  
  135.     IMPORTS
  136.         AnyProc=MyMod1.MyProc1
  137.         AnyProc=MyMod2.MyProc2
  138.  
  139. Exception handling not enabled
  140.   Compiler error
  141.     A 'try' block was found with the exception handling disabled.
  142.  
  143. Functions with exception specifications are not expanded inline
  144.   Compiler warning
  145.     Check your inline code for lines containing exception
  146.     specifications.
  147.  
  148. Functions with taking class-by-value argument(s) are not expanded
  149. inline
  150.   Compiler warning
  151.     When exception handling is enabled, functions that take class
  152.     arguments by value cannot be expanded inline (Note that functions
  153.     taking class parameters by reference are not subject to this
  154.     restriction.)
  155.  
  156. Illegal local public in %m
  157.   Linker warning
  158.     The message occurs when the linker sees an LPUBDEF record with an
  159.     offset of zero for a VIRDEF that resides in an overlay segment.
  160.     This can happen if you are trying to use structured exception
  161.     support in an application that uses overlays.
  162.  
  163. Import 'symbol' in module 'module' clashes with prior module
  164.     An import symbol can appear only once in a library file. A module
  165.     that is being added to the library contains an import that is
  166.     already in a module of the library and it cannot be added again.
  167.  
  168. Import library 'library' encountered in obj list
  169.   Linker error
  170.     Import libraries (import.lib) are not permitted in the OBJ file
  171.     list. They must always appear in the LIB file list.
  172.  
  173. Initialization is only partially bracketed
  174.   Compiler warning
  175.     When structures are initialized, nested pairs of braces can be
  176.     used to mark the initialization of each member of the structure.
  177.     Bracketing the the members ensures that your idea and the
  178.     compiler's idea of the initializations are the same. The compiler
  179.     issues this warning when the brackets are not equally matched.
  180.  
  181. Initializing 'enumeration' with 'type'
  182.   Compiler warning
  183.     You're trying to initialize an enum variable to a different type.
  184.     For example,
  185.     enum count {zero, one, two} x = 2;
  186.     results in this warning because 2 is of type int, not type enum
  187.     count. It's better programming practice to use an enum identifier
  188.     instead of a literal integer when assigning to or initializing
  189.     enum types.
  190.  
  191.     This error is reduced to a warning to let existing programs
  192.     compile.
  193.  
  194. Invalid entry at "segment:offset". Application may not work in real
  195. mode
  196.   Linker warning
  197.     This warning indicates that a necessary entry was missing from
  198.     the entry table of your executable file. The application may not
  199.     work in real mode unless you fix the code and data.
  200.  
  201. Invalid exe filename: 'filename'
  202.   Linker error
  203.     The exe filename had an incorrect extension, such as .OBJ, .MAP,
  204.     .LIB, .DEF, or .RES.
  205.  
  206. Invalid extended dictionary in library 'library': extended
  207. dictionaries ignored
  208.   Linker warning
  209.     The extended dictionary in the library is invalid. Run TLIB /E on
  210.     the library.
  211.  
  212. Invalid map filename: 'filename'
  213.   Linker error
  214.     The map filename had an incorrect extension, such as .OBJ, .EXE,
  215.     .DLL, .LIB, .DEF, or .RES.
  216.  
  217. Invalid size specified for segment alignment
  218.   Linker error
  219.     This error occurs if an invalid value is specified for the
  220.     Segment Alignment setting. The value specified must be an
  221.     integral multiple of 2 and less than 64K. Common values are 16
  222.     and 512. This error only occurs when linking Windows
  223.     applications.
  224.  
  225. Invalid size specified for segment packing
  226.   Linker error
  227.     An non-decimal number was provided on the command line for the
  228.     segment packing size limit.
  229.  
  230. Invalid target->/T'target'
  231.   Linker error
  232.     The command-line linker found an invalid target. Valid targets
  233.     are 'w' and 'd'.
  234.  
  235. 'base' is not a public base class of 'class'
  236.   Compiler error
  237.     There is a mismatch in the operands of the .* or ->* operator;
  238.     the class of the member pointer must match (or be a public base
  239.     class of) the object operand.
  240.  
  241. 'member' is not a valid valid template type member
  242.   Compiler error
  243.     A member of a template with some actual arguments that depend on
  244.     the formal arguments of an enclosing template was found not to be
  245.     a member of the specified template in a particular instance.
  246.  
  247. 'function' is obsolete
  248.   Compiler warning
  249.     The compiler generates this warning message when it encounters a
  250.     function that is obsolete. Functions marked by this error message
  251.     will be removed from the next version of the product.
  252.  
  253. Limit of 254 segments for new executable file exceeded
  254.   Linker error
  255.     The new executable file format only allows for 254 segments.
  256.     Examine the map file. Usually, one of two things cause the
  257.     problem. If the application is large model, the code segment
  258.     packing size could be so small that there are too many code
  259.     segments. Increasing the code segment packing size with the /P
  260.     option could help.
  261.  
  262.     The other possibility is that you have a lot of far data segments
  263.     with only a few bytes of data in them. The map file will tell you
  264.     if this is happening. In this case, reduce the number of far data
  265.     segments. 
  266.  
  267. No automatic data segment
  268.   Linker warning
  269.     No group named DGROUP was found. Because Borland's initialization
  270.     files define DGROUP, you will only see this error if you don't
  271.     link with an initialization file and your program doesn't define
  272.     DGROUP. Windows uses DGROUP to find the local data segment. The
  273.     DGROUP is required for Windows applications (but not DLLs) unless
  274.     DATA NONE is specified in the module definition file.
  275.  
  276. 'new' and 'delete' not supported
  277.   IDE debugger error
  278.     The integrated debugger does not support the evaluation of 'new'
  279.     and 'delete'.
  280.  
  281. New executable header overflowed 64K
  282.   Linker error
  283.     The size of all the components of the new executable header of a
  284.     Windows application is greater than 64K. Usually this is caused
  285.     by a very large RESIDENTNAME table. If your application exports
  286.     many functions, try exporting more of them by ordinal, rather
  287.     than by name.
  288.  
  289. No type information
  290.   IDE debugger error
  291.     The integrated debugger has no type information for this
  292.     variable. Ensure that you've compiled the module with debug
  293.     information.
  294.  
  295. Not a valid expression format type
  296.   IDE debugger error
  297.     You used an invalid format specifier following an expression in
  298.     the integrated debugger. A valid format specifier is a repeat
  299.     value (optional) followed by one of the following format
  300.     specifiers: c, d, f[n], h, m, p, r, s, or x.
  301.  
  302. Out of memory at library 'library': extended dictionaries ignored
  303.   Linker warning
  304.     The linker ran out of memory allocating space to cache the
  305.     extended dictionaries. The linker will ignore extended
  306.     dictionaries and proceed with the link.
  307.  
  308. Overloaded function resolution not supported
  309.   IDE debugger error
  310.     The only time an overloaded function name can be used without
  311.     actually calling the function is when a variable or parameter if
  312.     a appropriate type is initialized or assigned. In this case, an
  313.     overloaded function name has been used in some other context.
  314.  
  315. Overlays ignored in new executable image
  316.   Linker warning
  317.     This error occurs if you attempt to link a Windows program with
  318.     the /o option on. Windows executables can't be overlaid,
  319.     although, with discardable code segments, you should be able to
  320.     achieve a similar effect.
  321.  
  322. Repeat count needs an lvalue
  323.   IDE debugger error
  324.     The expression before the comma in the Watch or Evaluate window
  325.     must be a manipulable region of storage. For example, expressions
  326.     like these are not valid:
  327.  
  328.     i++, 10d
  329.     x = y, 10m
  330.  
  331. Resource binding failed
  332.   Linker error
  333.     While you were linking from the command line, RLINK.EXE reported
  334.     an error while binding resources to your image.
  335.  
  336. Segment alignment factor too small
  337.   Linker error
  338.     This error occurs if the segment alignment factor is too small to
  339.     represent the file addresses of the segments in the .EXE file.
  340.     This error only occurs when linking for Windows. See the
  341.     documentation for the /A option.
  342.  
  343. Segment 'segment' relocation data exceeds 64K
  344.   Linker error
  345.     The NE format only allows for 8192 relocations per segment.
  346.  
  347. Segment too large for segment table
  348.   Linker error
  349.     This error should never occur in practice. It means that a
  350.     segment was bigger than 64K and its size cannot be represented in
  351.     the executable file. This error can only occur when linking for
  352.     Windows; the format of the executable file used for Windows does
  353.     not support segments greater than 64K.
  354.  
  355. Side effects are not allowed
  356.   IDE debugger error
  357.     Side effects such as assignments, ++, or -- are not allowed in
  358.     the debugger watch window. A common error is to use "x = y" (not
  359.     allowed) instead of "x == y" to test the equality of "x" and "y."
  360.  
  361. Stack size is less than 1400h. It has been reset to 1400h.
  362.   Linker warning
  363.     Windows 3.0 requires the stack size of an application to be at
  364.     least 1400h. If the automatic data segment (ADS) is near 64K, but
  365.     your stack is less than 1400h, this can cause the ADS to overflow
  366.     at load time, but not at link time. For a Windows application, to
  367.     protect against this, the linker forces the stack size to be at
  368.     least 1400h.
  369.  
  370. Stub program exceeds 64K
  371.   Linker error
  372.     This error occurs if a DOS stub program written for Windows
  373.     application exceeds 64K. Stub programs are specified via the STUB
  374.     module definition file statement. The linker only supports stub
  375.     programs up to 64K.
  376.  
  377. Table limit exceeded->try linking with extended dictionaries
  378.   Linker error
  379.     This error occurs if you are linking many object modules, each
  380.     with many segment definition records. Turning on extended
  381.     dictionaries will cause the linker to process fewer modules,
  382.     eliminating unnecessary caching of these records. Make sure that
  383.     the libraries that are being linked ALL have extended
  384.     dictionaries. If you are not sure, run TLIB /E on the libraries,
  385.     and extended dictionaries will be constructed.
  386.  
  387. Type 'type' may not be defined here
  388.   Compiler error
  389.     Classes and enumerations may not be defined in certain places.
  390.     For example, the return type specification of a function. The
  391.     class or enum definition must be moved into a separate type
  392.     declaration.
  393.  
  394. Unable to process debug information, disable tasm /zi option
  395.   Linker error
  396.     This happens when you compile .C or .CPP code with debug
  397.     information, generating assembler output, and then run TASM on
  398.     the result with the /zi option. Do not use the /zi option. The
  399.     compiler already put out the appropriate debug information.
  400.  
  401. Undefined alias symbol 'symbol'
  402.   Linker error
  403.     An ALIAS definition record was encountered which specified a
  404.     substitute public symbol for an external reference. The public
  405.     symbol was never found. ALIAS records are generated by the
  406.     assembler when the ALIAS directive is used.
  407.  
  408. Unknown Goodie
  409.   Linker error
  410.     An unsupported option was supplied to the command-line linker.
  411.     See the documentation for currently supported Goodies (options).
  412.  
  413. User break, library aborted
  414.   Librarian error
  415.     You pressed <Ctrl><Break> to abort the build of the library.
  416.  
  417. Variable 'variable' has been optimized and is not available
  418.   IDE debugger error
  419.     You have tried to inspect, watch, or otherwise access a variable
  420.     which the optimizer removed. This variable is never assigned a
  421.     value and has no stack location. Recompile your program without
  422.     optimizations if you need to inspect this variable.
  423.  
  424. Write failed, disk full?
  425.   Linker error
  426.     This occurs if the linker could not write all of the data it
  427.     attempted to write. This is almost certainly caused by the disk
  428.     being full.
  429.  
  430. *************************   End of File   *************************
  431.  
  432.