Error message handling

Discuss about beta versions of mikroBasic
compiler.
Post Reply
Author
Message
Charlie
Posts: 2744
Joined: 01 Dec 2004 22:29

Error message handling

#1 Post by Charlie » 17 Feb 2008 14:55

Can we get more accurate error messages? The ones I get make no sense.Its very frustrating.
Regards Charlie M.

Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

Re: Error message handling

#2 Post by Kalain » 19 Mar 2008 08:24

Charlie wrote:Can we get more accurate error messages? The ones I get make no sense.Its very frustrating.
I agree.
Here is an example with Goto xxxx instruction.

If you use Goto xxxx and forgot declaring xxxx label,
MB tells you :
0:0 E-0 Linker error: _main_xxxx: label not found
I agree you still can find error by using "Find" and paste xxxx missing label but It would be better to display the "goto" line number which try to use a non defined label. :wink:
Alain

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: Error message handling

#3 Post by zristic » 19 Mar 2008 09:52

Messages system is one large part of the compiler which is scheduled to be under construction for this year. It is very complicated, because of the language structure. In the latest release of mikroC for 8051 we implemented a new way of handling messages and so far it proved to be working much better than current systems. Therefore, you can expect that the whole reporting system improves.

Post Reply

Return to “mikroBasic Beta testing”