[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why AC_C_CHAR_UNSIGNED?
From: |
Ralf Wildenhues |
Subject: |
Re: Why AC_C_CHAR_UNSIGNED? |
Date: |
Wed, 25 Jun 2008 18:40:36 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hi Stepan,
* Stepan Kasal wrote on Wed, Jun 25, 2008 at 05:02:40PM CEST:
> the two aspects are:
>
> 1) If the information about signedness of char is needed at
> build-time, it's better to use limits.h. Such projects should not
> use AC_C_CHAR_UNSIGNED. That is why the manual should generally
> recommend not to use the macro.
Sure. We can and should do that in the manual.
> 2) If signedness of char has to be known during configure time
> AC_C_CHAR_UNSIGNED is still useful.
Exactly. So the developer who decides that AC_C_CHAR_UNSIGNED is useful
for him either cannot use autoconf -Wall any more, or is annoyed by the
warning which is (then) wrong for him. Since this warning hints at an
optimization rather than at a potential bug, IMVHO here a wrong warning
is worse than no warning.
> I'd also like to hear others' opinions.
Sure, I'm happy to be overridden here. Note that Eric may be gone for a
couple of weeks.
Cheers,
Ralf
- Re: Why AC_C_CHAR_UNSIGNED?, (continued)
- Re: Why AC_C_CHAR_UNSIGNED?, Stepan Kasal, 2008/06/25
- Re: Why AC_C_CHAR_UNSIGNED?, Bob Friesenhahn, 2008/06/25
- Re: Why AC_C_CHAR_UNSIGNED?, Andreas Schwab, 2008/06/25
- Re: Why AC_C_CHAR_UNSIGNED?, Stepan Kasal, 2008/06/26
- Re: Why AC_C_CHAR_UNSIGNED?, Ralf Wildenhues, 2008/06/26
- Re: Why AC_C_CHAR_UNSIGNED?, Stepan Kasal, 2008/06/26
- Re: Why AC_C_CHAR_UNSIGNED?, Hallvard B Furuseth, 2008/06/28
- Re: Why AC_C_CHAR_UNSIGNED?, Bob Friesenhahn, 2008/06/26
- Re: Why AC_C_CHAR_UNSIGNED?, Stepan Kasal, 2008/06/26
- Re: Why AC_C_CHAR_UNSIGNED?, Bob Friesenhahn, 2008/06/26
- Re: Why AC_C_CHAR_UNSIGNED?,
Ralf Wildenhues <=