[mC V8 PIC] const inconsistency

Discuss about beta versions of mikroC compiler.
Post Reply
Author
Message
bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

[mC V8 PIC] const inconsistency

#1 Post by bruno » 14 Feb 2008 10:35

Hello,

a 'const' variable in a .c file :

Code: Select all

const char dummy[10] ;
declared by error not as const in a .h file :

Code: Select all

char dummy[10] ;
is not detected by compiler, and project is built without notification
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

Post Reply

Return to “mikroC Beta testing”