[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warn about character literals not of length one.
From: |
Akim Demaille |
Subject: |
Re: Warn about character literals not of length one. |
Date: |
Fri, 24 Jul 2009 15:32:38 +0200 |
Le 23 juil. 09 à 20:22, Joel E. Denny a écrit :
I'm surprised to see a comment in scan-gram.l that describes this
behavior
almost as if it's desired:
/* Characters. We don't check there is only one. */
A FIXME might be missing :)
Is there some good reason why we shouldn't check?
I don't see any. Unless POSIX states this behavior, of course.
I've thought about making it an error instead of a warning because it
seems like a severe mistake to miss. However, I worry that could
cause
trouble for distro maintainers trying to build existing projects.
But we should really make this an error in the future, and I suggest
that NEWS state this.
- AT_DATA and AS_ECHO_N (was: Re: Warn about character literals not of length one.), (continued)
- AT_DATA and AS_ECHO_N (was: Re: Warn about character literals not of length one.), Joel E. Denny, 2009/07/24
- Re: AT_DATA and AS_ECHO_N, Paolo Bonzini, 2009/07/29
- Re: AT_DATA and AS_ECHO_N, Joel E. Denny, 2009/07/30
- Re: AT_DATA and AS_ECHO_N, Paolo Bonzini, 2009/07/30
- Re: AT_DATA and AS_ECHO_N, Joel E. Denny, 2009/07/30
- Re: AT_DATA and AS_ECHO_N, Paolo Bonzini, 2009/07/30
- Re: AT_DATA and AS_ECHO_N, Ralf Wildenhues, 2009/07/30
- [PATCH] Clarify comparison of echo, printf, and AS_ECHO*., Paolo Bonzini, 2009/07/30
- Re: [PATCH] Clarify comparison of echo, printf, and AS_ECHO*., Joel E. Denny, 2009/07/31
Re: Warn about character literals not of length one., Joel E. Denny, 2009/07/24
Re: Warn about character literals not of length one.,
Akim Demaille <=