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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment