C++ Standard Library
  1. C++ Standard Library
  2. STDCXX-21

[Cygwin] wcodecvt.cpp:840: warning: comparison is always true due to limited range of data type

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: 22. Localization
    • Labels:
      None
    • Environment:

      Cygwin

      Description

      From http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200509.mbox/%3c200509111213.j8BCDGMG006690@ms-smtp-03.rdc-nyc.rr.com%3e:

      -------- Original Message --------
      Subject: Cygwin build
      Date: Sun, 11 Sep 2005 08:13:38 -0400
      From: Lance Diduck <lancediduck@nyc.rr.com>
      Reply-To: stdcxx-dev@incubator.apache.org
      To: <stdcxx-dev@incubator.apache.org>

      Notes on Cygwin build _CYGWIN_ using gcc 3.4.4 BUILDTYPE=11s default
      modes
      [...]
      /cygdrive/c/stdcxx7/stdcxx-2005-07-19/src/wcodecvt.cpp: In function
      `std::codecvt_base::result _rw::_rw_libstd_do_out(const wchar_t*,
      const wchar_t*, const wchar_t*&, char*, char*, char*&, int, const
      _rw::_rw_codecvt_t*)':

      /cygdrive/c/stdcxx7/stdcxx-2005-07-19/src/wcodecvt.cpp:840: warning:
      comparison is always true due to limited range of data type

        Activity

        Hide
        Martin Sebor added a comment -

        Compiles cleanly.

        Show
        Martin Sebor added a comment - Compiles cleanly.
        Hide
        Martin Sebor added a comment -

        Fix confirmed.

        Show
        Martin Sebor added a comment - Fix confirmed.

          People

          • Assignee:
            Martin Sebor
            Reporter:
            Martin Sebor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development