namespace safety with attributes
Fri Aug 1 09:56:00 GMT 2014
On Jul 31 10:07, Eric Blake wrote:
> As pointed out here:
> any use of __attribute__ in a header that can be included by a user
> should be namespace-safe, by decorating the attribute arguments with __
> (while gcc does a lousy job at documenting it, ALL attributes have a __
> counterpart, precisely so that public headers can use attributes without
> risk of collision with macros belonging to user namespace).
> 2014-07-31 Eric Blake <...>
> * include/pthread.h: Decorate attribute names with __, for
> namespace safety.
> * include/cygwin/core_dump.h: Likewise.
> * include/cygwin/cygwin_dll.h: Likewise.
> * include/sys/cygwin.h: Likewise.
> * include/sys/strace.h: Likewise.
Thanks, please apply.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Cygwin-patches