src/winsup/cygwin ChangeLog autolo ...

Yaakov (Cygwin/X)
Fri Apr 22 19:50:00 GMT 2011

> CVSROOT:	/cvs/src
> Module name:	src
> Changes by:	corinna@...	2011-04-19 10:02:07
> 	* (reg_key): Rewrite reg_key class to use native NT registry
> 	functions.  Use WCHAR string parameters throughout.  Use PCWSTR rather
> 	than const WCHAR.  Drop multibyte char functionality.  Drop unused
> 	methods.

This change introduced a compiler warning with GCC 4.5:

cc1plus: warnings being treated as errors In member function ‘int reg_key::get_int(const WCHAR*,
int)’: error: dereferencing type-punned pointer will break
strict-aliasing rules


More information about the Cygwin-developers mailing list