WCHAR_MIN and WCHAR_MAX missing guards in stdint.h

Corinna Vinschen vinschen@redhat.com
Mon May 12 17:02:00 GMT 2014


On May 12 16:55, Thomas Uhle wrote:
> Hello,
> 
> the definitions WCHAR_MIN and WCHAR_MAX are not protected by #ifndef ...
> in stdint.h like they are in wchar.h. Therefore, GCC outputs warnings
> about doubled definitions during compilation if wchar.h and stdint.h are
> both included. I think a possible fix would be to adopt the code in
> stdint.h w.r.t. wchar.h.

Done.  Thanks for the hint.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20140512/c0c2b98c/attachment.sig>


More information about the Newlib mailing list