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 2016/07/02 13:32:11 UTC

[jira] [Closed] (LOGCXX-482) Build failure with GCC-6

     [ https://issues.apache.org/jira/browse/LOGCXX-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Schöning closed LOGCXX-482.
------------------------------------
       Resolution: Fixed
         Assignee: Thorsten Schöning
    Fix Version/s: 0.11.0

I applied the patch, simply because it reads much cleaner than what has been provided in LOGCXX-400 and because this way we have two documenbted working approaches to fix this problem.

The other one is to keep using static_cast like is done in domtestcase. The difference is that in domtestcase "logchar" is used and changing that back to "unsigned char" in one case defeats its purpose. Changing logchar itself to "unsigned char" breaks a lot of current code as well. So I'll keep it as it is for now.

> Build failure with GCC-6
> ------------------------
>
>                 Key: LOGCXX-482
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-482
>             Project: Log4cxx
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>         Environment: Debian Stretch (currently in developement)
>            Reporter: Tobias Frost
>            Assignee: Thorsten Schöning
>             Fix For: 0.11.0
>
>         Attachments: 170-gcc6-fix.patch
>
>
> Dear liblog4cxx developers,
> Debian's next release will release with GCC-6 and during the preparation a build failure was found. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811768 for details.
> I've made a patch for Debian, which I will attach to this Bug entry. But I understand that this might actually be fixed, at least partially. (Please appologize that I did not find time to try)
> The patch is also here: 
> https://anonscm.debian.org/cgit/collab-maint/log4cxx.git/tree/debian/patches/170-gcc6-fix.patch
> PS: It would be very appreciated if you could release the 0.11. soonish -- I'd like to have it in Debian Stretch released and it has maaaaany bugfixes!
> Thanks!
> Tobi (Your Debian package maintainer)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)