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]: Fixes warnings in gthr-win32.h for mingw targets


Kai Tietz wrote:

> If you read the header correctly, it includes _mingw.h for mingw-case.
> So for mingw targets it is defined as '#define __UNUSED_PARAM(x) x
> __attribute__ ((unused))'

  Ah, that's the bit I didn't know: it comes from the system headers.

> If you are sure that this header is always just used by gcc compiler,

  No, I'm not sure about that at all, so I'll leave it as is.

    cheers,
      DaveK


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