This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: compiler-defined __PEDANTIC__ macro
Nathan Myers <ncm-nospam@cantrip.org> writes:
[...]
| A macro that enables us to report conformance problems in the
| library under the same interface as for the base compiler clearly
| falls in the latter category. So ought a macro revealing warning
| levels, for that matter.
More generally, I would liek to see some compile-time reflection
relation between the compiler and either the library or user code.
The deprecation attribute, for example, was a step in that direction.
-- Gaby