Comments (3)
This definition is only used for Clang 9.0 and above:
assert/include/boost/assert/source_location.hpp
Lines 168 to 170 in 7dea14c
If you Clang version is 5.0, you should check what's the value of the macro BOOST_CLANG_VERSION, and if it's higher than 90000, investigate why it's set to that. For Clang 5 it should be 50000 or thereabouts.
from assert.
[root@0000]# arm-linux-androideabi-clang --version
Android clang version 5.0.300080 (based on LLVM 5.0.300080)
#define BOOST_CLANG_VERSION (clang_major * 10000 + clang_minor * 100 + clang_patchlevel)
clang_major = 5
clang_minor = 0
clang_patchlevel = 300080
BOOST_CLANG_VERSION = ( 5 * 10000 + 0 * 100 + 300080 ) = 350080
from assert.
I have created a pull request against Boost.Config that should fix this issue: boostorg/config#444
The patch itself is boostorg/config@9eaeeb7. Please let me know if that works for you.
from assert.
Related Issues (15)
- Create an index html file HOT 1
- Move current_function.hpp to Config or Core HOT 2
- current_function_test prints a scary 'assertion failed'
- BOOST_CURRENT_FUNCTION isn't a string literal
- issues with std::sprintf in source_location.hpp when using gettext HOT 5
- __LINE__ is not a constant expression under VS2017 /ZI HOT 1
- [compile error] #if #endif pairs did not match in boost\assert.hpp HOT 11
- Document requirements on the user-defined `assertion_failed(_msg)` functions HOT 11
- Compilation under nvcc with c++20 fails due to std::source_location::current being non-constexpr
- run-boost_assert-source_location_test* test failures in 1.83.0 with Intel LLVM compiler HOT 3
- Switch `source_location` to `__builtin_FUNCSIG()` under MSVC 19.35+
- Modular Boost C++ Libraries Request HOT 1
- Library requirements errors. HOT 1
- Documentation error? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assert.