This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Format checking and C++
- To: gcc at gcc dot gnu dot org
- Subject: Format checking and C++
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 17 Oct 2000 00:26:27 +0100 (BST)
At present, the printf/scanf/strftime format checking in GCC treats C++
exactly as C89 (without AMD1) - down to giving warnings about "ISO C" and
"ISO C89" in -pedantic mode. Clearly, it ought to refer to "ISO C++" when
appropriate instead.
What (if anything) does the C++ standard say about features to be
supported by the C formatted I/O functions, or about alignment of these
with any particular version of the C standard?
--
Joseph S. Myers
jsm28@cam.ac.uk