NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: standards/46276: CHAR_MAX/CHAR_MIN don't change with -funsigned-char



The following reply was made to PR standards/46276; it has been noted by GNATS.

From: Alan Barrett <apb%cequrux.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: standards/46276: CHAR_MAX/CHAR_MIN don't change with
 -funsigned-char
Date: Wed, 28 Mar 2012 20:53:57 +0200

 On Wed, 28 Mar 2012, David Holland wrote:
 > uwe says gcc provides __CHAR_UNSIGNED__ to test with.
 
 __type_is_signed(char) should also work, with recent sys/cdefs.h.
 
 --apb (Alan Barrett)
 


Home | Main Index | Thread Index | Old Index