[Bug 203160] Fix devel/codeblocks build with clang 3.7.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 16 20:01:28 UTC 2015


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 at FreeBSD.org
          Reporter: dim at 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.


More information about the freebsd-ports-bugs mailing list