CaissBoy 0 Posted March 17, 2003 Report Share Posted March 17, 2003 Hi, When I compile my project in version 5.0 ( it worked fine below version 5.0) my code crashes. The code produces the crash, when the compiler declares the array in page 1 of my PIC16LF876) const char BitMasks[] = {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80}; main() { etc.... If I make the declaration NOT const, everything works fine. However the const can be used when the array is declared in Page 0. I have send a more detailed description to support@picant.com Greetings Erik Quote Link to post Share on other sites
Guest Pavel Posted March 17, 2003 Report Share Posted March 17, 2003 Erik, I got your mail. Thanks. Looks like a possible bug in the compiler related to the recent const string generation scheme change. Will investigate it within next couple of days. Regards, Pavel Quote Link to post Share on other sites
Guest Pavel Posted March 18, 2003 Report Share Posted March 18, 2003 I have found and fixed the problem. The fix will be available soon. Regards, Pavel Quote Link to post Share on other sites
Guest Pavel Posted March 19, 2003 Report Share Posted March 19, 2003 The compiler patch that fixes this problem is available to download on the Download page. 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.