Keil Logo

Technical Support

On-Line Manuals

Cx51 User's Guide

Cx51 Introduction Compiling Programs Language Extensions Preprocessor Advanced Programming 8051 Derivatives Error Messages Fatal Errors Actions Messages Errors and Warnings Reference Error C100 Error C101 Error C102 Error C103 Error C125 Error C126 Error C127 Error C129 Error C130 Error C131 Error C132 Error C134 Error C135 Error C136 Error C138 Error C140 Error C141 Error C142 Error C143 Error C144 Error C145 Error C146 Error C147 Error C149 Error C150 Error C151 Error C152 Error C153 Error C154 Error C155 Error C156 Error C157 Error C158 Error C159 Error C160 Error C161 Error C162 Error C163 Error C164 Error C165 Error C166 Error C167 Error C168 Error C169 Error C170 Error C171 Error C172 Warning C173 Error C174 Error C175 Error C176 Error C177 Error C178 Error C179 Error C180 Error C181 Warning C182 Error C183 Error C184 Error/Warning C185 Error C186 Error C187 Error C188 Error C189 Error C190 Error C193 Error C194 Error C195 Error C196 Error/Warning C198 Error C199 Error C200 Error C201 Error C202 Error C203 Error C204 Error C205 Warning C206 Error C207 Error C208 Error/Warning C209 Error C210 Error C211 Error C212 Error C213 Error/Warning C214 Error C215 Error C216 Error C217 Error C218 Error/Warning C219 Error C220 Error C221 Error C222 Error C223 Error C225 Error C226 Error C227 Error C228 Error C229 Error C230 Error C231 Error C232 Error C233 Error C234 Error C235 Error C236 Error C237 Error C238 Error C239 Error C240 Error C241 Error C242 Error C243 Error C244 Error/Warning C245 Error C246 Error C247 Error C248 Error C249 Error C250 Error C251 Error C252 Error C253 Error C255 Error C256 Error C257 Error/Warning C258 Error/Warning C259 Error/Warning C260 Error/Warning C261 Error C262 Error C263 Error C264 Error/Warning C265 Error C267 Error C268 Error/Warning C271 Error C272 Error C273 Error C274 Warning C275 Warning C276 Warning C277 Error C278 Error C279 Error/Warning C280 Error C281 Error C282 Error C283 Error C284 Warning C285 Warning C286 Warning C287 Warning C289 Warning C290 Warning C291 Warning C292 Error C293 Warning C294 Error C300 Error C301 Error C302 Error C303 Error C304 Error C305 Error C306 Error/Warning C307 Error C308 Error C309 Error C310 Error C311 Error C312 Error C313 Error C314 Error C315 Warning C316 Warning C317 Error C318 Error C319 Error/Warning C320 Error C321 Warning C322 Warning C323 Warning C324 Error C325 Error C326 Error C327 Warning C500 Library Reference Appendix


  • '(' After Control Expected
    Some control parameters need an argument enclosed in parentheses. This message is displayed when the left parenthesis is missing.
  • ')' After Parameter Expected
    This message indicates that the right parenthesis of the enclosed argument is missing.
  • Bad Digit In Number
    The numerical argument of a control parameter contains invalid characters. Only decimal digits are acceptable.
  • Can't Create File
    The filename defined on the FILE line cannot be created.
  • Can't Have General Control In Invocation Line
    General controls like EJECT cannot be included on the command line. Place these controls in the source file using the #pragma statement.
  • File Does Not Exist
    The filename defined on the FILE line cannot be found.
  • File Write-Error
    An error occurred while writing to the list, preprint, work, or object file because of insufficient disk space.
  • Identifier Expected
    This message is generated when the DEFINE directive has no arguments. The DEFINE directive requires an identifier as its argument. This is the same convention as in the C language.
  • Memory Space Exhausted
    The compiler could not allocate enough memory to compile the specified source file. If you receive this message consistently, you should split the source file into two or more smaller files and re-compile.
  • More Than 100 Errors in Source-File
    During the compilation more than 100 errors were detected. This causes the termination of the compiler.
  • More Than 256 Segments/Externals
    More than 256 total references were encountered in a source file. A single source file cannot contain more than 256 functions or external references. This is an historical restriction mandated by the Intel Object Module Format (OMF51). Functions which contain scalar and/or bit declarations produce two and sometimes three segment definitions in the object file.
  • Non-Null Argument Expected
    The selected control parameter needs an argument (for example, a filename or a number) enclosed in parentheses.
  • Out Of Range Number
    The numerical argument of a control parameter is out of range. For instance, the OPTIMIZE directive allows only certain numbers. A value of 25 would generate this error message.
  • Parse Stack Overflow
    The parse stack has overflowed. This can occur if the source program contains extremely complex expressions or if blocks are nested more than 31 levels deep.
  • Preprocessor: Line Too Long (32K)
    An intermediate expansion exceeded 32K characters in length.
  • Preprocessor: Macros Too Nested
    During macro expansion, the stack consumption of the preprocessor grew too large to continue. This message usually indicates a recursive macro definition, but can also indicate a macro with too many levels of nesting.
  • Respecified Or Conflicting Control
    A command-line parameter was specified twice or conflicting command-line parameters were specified.
  • Source Must Come From A Disk-File
    The source and include files must exist on either a hard disk or diskette. The console CON:, :CI:, or similar devices are not allowed as input files.
  • Unknown Control
    The selected control parameter is not recognized by the compiler.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.