This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR 13714
Gabriel Dos Reis wrote:
Bernardo Innocenti <bernie@develer.com> writes:
| Mark Mitchell wrote:
| > ! error ("the type being destroyed is '%T', but the destructor refers to `%T'",
| ^^^^
| > ! TYPE_MAIN_VARIANT (object_type), dtor_type);
|
| Shouldn't we use a backtick before the first %T?
No. We've discussed this in the past. As I recalled it, the
conclusion was moving toward the form he used.
Ok then, but but as it is now, the error message isn't consistent;
the second %T is quoted differently.
(something that would be better is a marker that could be suitable for
translation).
...and easier to enhance with color highlighting ;-)
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/