Warning : 'model' attribute directive ignored
Andrew Haley
aph@redhat.com
Thu Nov 13 16:04:00 GMT 2008
Dong Phuong wrote:
> 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 ?
What did investigating the warning with gdb tell you?
Andrew.
More information about the Gcc
mailing list