mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Handle clang 4.x+ with the compile-time exception added in r312213
It also fails the assertions noted in bug 208703 PR: 208703 PR: 217084 Submitted by: jbeich MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
3bd0d6b434
commit
87dc0e9bc9
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ testall(int testnum, long double big, long double small)
|
|||
|
||||
/* Clang 3.8.0+ fails the invariants for testcase 6, 7, 10, and 11. */
|
||||
#if defined(__clang__) && \
|
||||
(__clang_major__ >= 3 && __clang_minor__ >= 8 && __clang_patchlevel__ >= 0)
|
||||
((__clang_major__ > 3)) || \
|
||||
((__clang_major__ == 3 && __clang_minor__ >= 8))
|
||||
#define affected_by_bug_208703
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue