This is the mail archive of the gcc-patches@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: PATCH: Ada fixes for mingw32- adaint.c (6/6)


> All __attribute__((unused)) does is turn off the warnings -- note the
> 'possibly' in excerpt from gcc.info. 

This kind of attribute also act as documentation, and in this case, this
would be a partly misleading documentation.

Instead, I'd suggest declaring the function separately for Windows,
and not declaring any parameter.

Arno


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