Keil™, An ARM® Company

Cx51 User's Guide

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
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
Library Reference
Appendix

Error Messages

This section lists the fatal errors, errors, and warnings you may encounter when using the Cx51 C Compiler. Errors and warnings are listed in numerical order and are divided into several sections:

SummaryBriefly describes the error or warning.
DescriptionProvides a detailed description of message and why it was generated.
CauseDescribes the cause of the error.
ResolutionProvides hints and suggestions for correcting the problem.
ExampleProvides an example, where possible, of the error condition.
See AlsoProvides useful references to additional material.

Some errors include an exception that provides more information about the exact nature of the error. These exceptions are generated by the operating system and indicate a failure at that level.

ExceptionDescription
0021hPath or File Not Found
The specified path or filename is missing.
0026hIllegal File Access
An attempt was made to delete or write to a write-protected file.
0029hAccess to File Denied
The specified file is a directory.
002AhI/O Error
The drive is either full or the drive was not ready.
0101hIllegal Context
An attempt was made to access a file in an illegal context. This happens if you try to read from LPT1 or delete COM1.