Guest Joe Posted March 5, 2005 Report Share Posted March 5, 2005 Compiling... "C:\Program Files\SourceBoost\boostc.pic18.exe" -t PIC18F1220 ServoSwitch.c BoostC Optimizing C Compiler Version 2.0.1 Beta (for PIC18 architecture) http://www.picant.com/c2c/c.html Copyright© 2004-2005 Pavel Baranov Copyright© 2004-2005 David Hobday success Done Linking... "C:\Program Files\SourceBoost\linker.exe" /ld "C:\Program Files\SourceBoost\lib" libc.pic18.lib ServoSwitch.obj /t 18F1220 /d F:\projects\ServoSwitch\Code /p ServoSwitch BoostLink Optimizing Linker Version 2.0.1 Beta http://www.picant.com/c2c/c.html Copyright© 2004-2005 Pavel Baranov Copyright© 2004-2005 David Hobday Warning: Unable to successfully create 'delay_us' for target with clock freq 8000000 Hz Warning unreferenced functions removed: EepromWrite in: ServoSwitch.c SaveSystemData in: ServoSwitch.c EEPROM_Refresh in: ServoSwitch.c Warning: function never returns: 'fn' Failed Done No error messages!! -- so what's wrong? Quote Link to post Share on other sites
Dave 0 Posted March 5, 2005 Report Share Posted March 5, 2005 Joe, Sounds like linker finally quit with an abnormal program termination. Please send the project that has this problem to support@picant.com Regards Dave Quote Link to post Share on other sites
Guest Joe Posted March 5, 2005 Report Share Posted March 5, 2005 Joe, Sounds like linker finally quit with an abnormal program termination. Please send the project that has this problem to support@picant.com Regards Dave <{POST_SNAPBACK}> Mail sent... Quote Link to post Share on other sites
Guest Joe Posted March 5, 2005 Report Share Posted March 5, 2005 I've managed to isolate the code that is causing the error... #include <system.h> struct { char foo[2]; }sys; void main() { char x = 1; sys.foo[x] = 0; } Hope this helps to fix it, and will make it into the next release. When is the next release? Quote Link to post Share on other sites
Pavel 0 Posted March 5, 2005 Report Share Posted March 5, 2005 When is the next release? The current compiler release will expire at the end of March. We'll do another release before that. 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.