Hi all!

 
i am using  compiler avr-gcc (GCC) 3.4.3
 
i have declared an constant array as
 
const char conc_pattern_2s[] PROGMEM={0x0a,0x80,0xbe,0x41,0x0a,0x80,0x78,0x84,0x0a,0x00,0x7d,0x03,0x0a,0x00,0xfa,0xfa};
const char conc_pattern_2s50[] PROGMEM={0x0a,0x80,0x88,0x58,0x0a,0x00,0x33,0xcb,0x0a,0x00,0x11,0x31,0x0a,0x00,0x22,0xa2};
 
and delared a pointer as
 
unsigned char * conc_ptr ;
 
and on line no 94 i have initialized as
 
conc_ptr=conc_pattern_2s50;
 
 While compiling i am getting the following error messages
fpga_conf.c: In function `yes_last_pg_of_mb_mcs':
fpga_conf.c:94: warning: assignment discards qualifiers from pointer target type
fpga_conf.c:98: error: `conc_pattern_2s100' undeclared (first use in this function)
 
How do i solve it??
 
 
regards,
varsha

--

***********************Confidentiality Notice***************************
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify the sender at Divinet or
[EMAIL PROTECTED] immediately and destroy all copies of this
message and any attachments.

************************************************************************
_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to