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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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