Description:
Discussion about C language standards.
|
|
|
Any plans to remove obsolescent features?
|
| |
I understand that the committee has voted to remove gets() from the upcoming C 201X standard (and there was much rejoicing). Are there any thoughts of removing any other obsolescent or deprecated features? I'm thinking specifically of old-style function declarations, but there are several other examples in C99 6.11 (Future... more »
|
|
va_start rules on paramN
|
| |
Hello in 7.15.1.4 , #4 :"If the parameter parmNis declared with [...CUT...] or with a type that is not compatible with the type that results after application of the default argument promotions, the behavior is undefined" Does this mean that the type of paramN shall not be a character type or _Bool or a short integer type?... more »
|
|
shifting negative zero
|
| |
C99 6.5.7p5 (Bitwise shift operators) is: The result of E1 >> E2 is E1 right-shifted E2 bit positions. If E1 has an unsigned type or if E1 has a signed type and a nonnegative value, the value of the result is the integral part of the quotient of E1 / 2**E2. If E1 has a signed type and a negative value, the... more »
|
|
Definition of terms
|
| |
Hello all. Today i had a discussion of when diagnostic messages are required to be given. It quickly became clear that syntax rule violations are deemed to give a diagnostic. I find it intuitive that rules in "Syntax" sections are "syntax rules", but the one i discussed with wanted to get a normative guarantee of this.... more »
|
|
cheap wholesale nike max TN shoes,jordan wholesale,air force one,wholesale jordan,nike shox wholesale
|
| |
vipshoeshop Co.,Ltd([link]) wholesale nike jordan sneakers big cheap air jordan sneakers for sale.discount china nike dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra shoes wholesale new balance shoes puma shoes,cheap adidas... more »
|
|
"for" in clause 6.8.5 of the Standard
|
| |
I've checked the three PDFs n1256.pdf (page 147), n1336.pdf (page 149), and n1362.pdf (page 151) and found the same omission on all of them 6.8.5 Iteration statements Syntax 1 iteration-statement: while ( expression ) statement do statement while ( expression ) ;... more »
|
|
Array parameter causes undefined behavior?
|
| |
(This was sent to comp.lang.c++.moderated, but as there is the same restriction in C, i send it to this one too.) What is the reason that the following code causes undefined behavior? // undefined behavior void f(char const paramN[], ...) { va_list ap; va_start(ap, paramN); va_end(ap); ...As far as i can see, that's just a parameter with type "char const*". What's... more »
|
|
|