This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29033] New: %s substituted with "left"/"right" can't be properly translated
- From: "goeran at uddeborg dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2006 12:07:58 -0000
- Subject: [Bug c/29033] New: %s substituted with "left"/"right" can't be properly translated
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In gcc/cp/typeck.c there is this code.
if (tree_int_cst_lt (op1, integer_zero_node))
warning (0, "%s rotate count is negative",
(code == LROTATE_EXPR) ? "left" : "right");
else if (compare_tree_int (op1, TYPE_PRECISION (type0)) >= 0)
warning (0, "%s rotate count >= width of type",
(code == LROTATE_EXPR) ? "left" : "right");
Here "left" and "right" will not be translated. So it is not possible to do a
correct translation of these messages.
--
Summary: %s substituted with "left"/"right" can't be properly
translated
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: goeran at uddeborg dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29033