This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin 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]

src/winsup/cygwin ChangeLog include/pthread.h ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	ericb@sourceware.org	2014-08-01 15:48:37

Modified files:
	winsup/cygwin  : ChangeLog 
	winsup/cygwin/include: pthread.h 
	winsup/cygwin/include/cygwin: core_dump.h cygwin_dll.h 
	winsup/cygwin/include/sys: cygwin.h strace.h 

Log message:
	headers: properly decorate attributes
	
	As pointed out here:
	https://cygwin.com/ml/cygwin/2014-07/msg00371.html
	
	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).
	
	* 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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6480&r2=1.6481
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/core_dump.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/cygwin_dll.h.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/cygwin.h.diff?cvsroot=src&r1=1.108&r2=1.109
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/strace.h.diff?cvsroot=src&r1=1.33&r2=1.34


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