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]

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.


      


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