This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

[PATCH] aliasing warning in ctype.h


Hello,

The attached patch removes warning like :

../include/ctype.h:38: warning: dereferencing type-punned pointer will
break strict-aliasing rules

from ctype.h

2003-03-21  Ian Wienand  <ianw at gelato dot unsw dot edu dot au>
 
        * include/ctype.h : don't cast results of __libc_tsd_address
	to avoid pointer aliasing warning.


-i 
ianw at gelato dot unsw dot edu dot au
http://www.gelato.unsw.edu.au


Attachment: ctype.diff
Description: Text document


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