Re: Compiler problem....unique to C or compiler???
- From: James Kuyper <jameskuyper@xxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 13:54:35 GMT
Charlie Gordon wrote:
<vippstar@xxxxxxxxx> a écrit dans le message de news: dd24e31b-aee0-4400-9aa5-03e308905aa9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx....On Nov 19, 12:20 am, rober...@xxxxxxxxxxxxxxxxxx (Walter Roberson)
wrote:
*s is a char and *t is a char, and when char are used in arithmeticIncorrect, please take a look to n1124.pdf 6.3.1.1
expressions, they are widened to int (or, I suppose in theory
it could be unsigned int, if the implementation defaulted to
unsigned char and sizeof(unsigned char) == sizeof(int) ).
Please expand on this, I don't see how the language of 6.3.1.1 leads to this conclusion.
It doesn't, 6.3.1.1 clearly supports the assertion made by Walter Roberson and labeled as "incorrect" by vippstar.
.
- References:
- Compiler problem....unique to C or compiler???
- From: mdh
- Re: Compiler problem....unique to C or compiler???
- From: Tor Rustad
- Re: Compiler problem....unique to C or compiler???
- From: Walter Roberson
- Re: Compiler problem....unique to C or compiler???
- From: vippstar
- Re: Compiler problem....unique to C or compiler???
- From: Charlie Gordon
- Compiler problem....unique to C or compiler???
- Prev by Date: Re: Is this C?
- Next by Date: Re: library function vs system calls
- Previous by thread: Re: Compiler problem....unique to C or compiler???
- Next by thread: Re: Compiler problem....unique to C or compiler???
- Index(es):
Relevant Pages
|