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

Error/Warning C214

*** Error/Warning C214

'Argument' Conversion: Non-Pointer to Pointer
Illegal Pointer Conversion


This message indicates that the argument to a function (that is not a pointer type) was used where a pointer argument was required. Objects whose types are bit or float and arguments that are aggregates types cannot be converted to pointers. Other types may be converted to pointer types if possible.


This message is caused when you use a non-pointer (binary, constant, bit, float, or other) type in the place of a pointer as an argument to a function.


To resolve this issue, you may explicitly cast the argument to the correct pointer type.


The following example causes the compiler to generate this warning.

int i;
void func (int xdata *p);

void main (void)
  func (i);  // i is implicitly cast to an int xdata pointer
  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.