Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 20:01:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203160] Fix devel/codeblocks build with clang 3.7.0
Message-ID:  <bug-203160-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203160

            Bug ID: 203160
           Summary: Fix devel/codeblocks build with clang 3.7.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org

Created attachment 161124
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161124&action=edit
Fix devel/codeblocks build with clang 3.7.0

During the exp-run in bug 201377, it was found that devel/codeblocks gives
errors with clang 3.7.0:

http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-09-16_07h08m17s/logs/errors/codeblocks-13.12_4.log

This is because cbthreadpool.h uses throw(), which should be replaced with
noexcept for C++11.  In the attached patch, I have made this conditional on
whether the noexcept feature is available.

Additionally, I disabled the -Wundefined-bool-conversion warning, since it
happens quite a lot of times in Code::Blocks, and it seems too much churn to
fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203160-13>