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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • None
    • None
    • 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

              tschoening Thorsten Schöning
              drlaz Andrew Lazarus
              Votes:
              0 Vote for this issue
              Watchers:
              4 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