Created on 2003-09-18.00:00:00 last changed 172 months ago
Rationale:
We don't want to impose any restrictions beyond what the C standard already says. We don't want to make anything implementation defined, because that imposes new requirements in implementations.
Proposed resolution:
In the first sentence of [fstreams] paragraph 2, change "defined" to "declared".
7.19.1, p2, of C99 requires that the FILE type only be declared in <stdio.h>. None of the (implementation-defined) members of the struct is mentioned anywhere for obvious reasons.
C++ says in 27.8.1, p2 that FILE is a type that's defined in <cstdio>. Is it really the intent that FILE be a complete type or is an implementation allowed to just declare it without providing a full definition?
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2562 |
2010-10-21 18:28:33 | admin | set | messages: + msg2561 |
2003-09-18 00:00:00 | admin | create |