Technical Support
On-Line Manuals
µVision User's Guide
C51, C251, C166 Development Tools
*** Error E048 Invalid Dereference
Invalid Dereference
The pointer cannot be dereferenced.
The dereferenced object is NULL or pointing to NULL. Dereferencing an invalid pointer, or NULL-object, has unpredictable results.
Test of the object value before using it.
char *ptr = [expr. is NULL]; *ptr; //dereferencing a NULL pointer is not alowed //better, test first if (ptr == NULL) { ... }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
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.