compiler-defined __PEDANTIC__ macro

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Dec 11 12:09:00 GMT 2002


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



More information about the Libstdc++ mailing list