This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Format checking and C++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]