strict C++ mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

Is there a way to get GCC to compile C++ in a "strict C++" mode?

By "strict C++" I mean that when I include <cstdio>, I get symbols that are
required by ISO 14882, but I don't get symbols that are not specified in ISO
14882.

So I'd get:
std::printf

But I would not get:
::printf

And I would not get any #define's that are not required by ISO 14882.  (Not
including header guards that have a double-underscore or start with
underscore-capital letter.)

Thanks,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux