Created attachment 161124 [details]
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:
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.
A commit references this bug:
Date: Tue Dec 22 15:22:48 UTC 2015
New revision: 404241
- Fix build with clang 3.7.0
Submitted by: dim
Approved by: mat (mentor)
Differential Revision: D4653