You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2015/09/11 14:44:45 UTC
[jira] [Reopened] (LOGCXX-400) C++11 does not allow char literals
with highest bit set unless cast
[ https://issues.apache.org/jira/browse/LOGCXX-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning reopened LOGCXX-400:
--------------------------------------
Assignee: (was: Curt Arnold)
I'll reopen the issue to easier recognize the proveded patch in commetn 2.
> C++11 does not allow char literals with highest bit set unless cast
> -------------------------------------------------------------------
>
> Key: LOGCXX-400
> URL: https://issues.apache.org/jira/browse/LOGCXX-400
> Project: Log4cxx
> Issue Type: Bug
> Affects Versions: 0.10.0
> Environment: XCode 4.5, clang set to C++11
> Reporter: Andrew Lazarus
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> C++11 has tighter rules for widening of literals. In particular, 0xFF (for example) is an unsigned short unless cast otherwise.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)