String constants are not defined with use of the __far qualifier. Specify the -far_rom option to make ROM data have the far attribute.
This method gives all data for placement in ROM the far attribute.
With this reason, in access by pointers, use pointers which have the far attribute.
[ Example ]
__far char *p; /* Define a pointer having the far attribute*/
p = ""abc"";
When you want to give a const variable which you have defined the near attribute, use the __near qualifier to do so.
|CS+ (formerly CubeSuite+)|
|C Compiler Package for RL78 Family|