> #define __16f877
> #include <pic16f877.h>
> #include "../lib/projet877.h"
> 
> const char *essai;

/* Work around initializer bugs. */
void init_stuff(void)
{
     essai = "bonjour";
}

> void main(void)
> {
        init_stuff(); /* initialize string arrays */
>      init_serie();
>      print (essai);
> }
> How to use the constant with SDCC 2.7.0 ?

Just follow the instructions and initialize at runtime; the changes 
above are untested but should guide you to working code.

Regards,
Raphael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to