Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-400

C++11 does not allow char literals with highest bit set unless cast

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      XCode 4.5, clang set to C++11

      Description

      C++11 has tighter rules for widening of literals. In particular, 0xFF (for example) is an unsigned short unless cast otherwise.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tschoening Thorsten Schöning
                Reporter:
                drlaz Andrew Lazarus
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified