Format checking and C++

Joseph S. Myers jsm28@cam.ac.uk
Mon Oct 16 16:26:00 GMT 2000


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



More information about the Gcc mailing list