Warning : 'model' attribute directive ignored
Dong Phuong
dongphuong2410@yahoo.com
Thu Nov 13 10:26:00 GMT 2008
I've declared some macros in my target description
file to add more attributes to it.
When I built it, everything was OK and file cc1.exe
was created.
But when I use attributes in my C source file. For
example :
int x __attribute__ ((model ("small)));
and use file cc1.exe to compile, there is warning :
Warning : 'model' attribute directive ignored
So could you tell me why my attribute is ignored ? And
what I have to do to be able to use attributes in C
source file ?
Thank you very much.
More information about the Gcc
mailing list