Andrew Leiper 0 Posted January 26, 2011 Report Share Posted January 26, 2011 Hi there, BoostC ver7.01 PIC18F2525 The following code which worked with HITECH produces an "error: failure" message. Change const to volatile and you get the same error. Remove the const altogether and it compiles ok. //********************** #include <system.h> typedef const char * pcc; pcc ChrPtr; void main(void) { char c; c = *ChrPtr; } //************************ Thanks, Andy Leiper IET Ltd Quote Link to post Share on other sites
Pavel 0 Posted January 27, 2011 Report Share Posted January 27, 2011 Fixed. Fix will be available in the coming 7.02 release. Thanks for reporting. Regards, Pavel Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.