This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c/29033] New: %s substituted with "left"/"right" can't be properly translated


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


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