This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warning : 'model' attribute directive ignored


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]