This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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