This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Warning : 'model' attribute directive ignored
- From: Dong Phuong <dongphuong2410 at yahoo dot com>
- To: gcc at gnu dot org
- Date: Wed, 12 Nov 2008 19:55:55 -0800 (PST)
- Subject: Warning : 'model' attribute directive ignored
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.