forked from boostorg/core
dea6b0415724850f9b76368183572dd71a65034a
Apparently, gcc < 4.7 on Linux also don't have __cxa_get_globals declaration in cxxabi.h. Declare the function ourselves. Also, on OpenBSD it seems there is no declaration either, and on that platform the function implementation has no exception specification, like on FreeBSD. Add a declaration of that platform. Lastly, changed __cxa_get_globals and _getptd-based implementations to avoid violating strict aliasing rules. This is still formally UB to access structure fields like we do, but this is one less reason to cause miscompilation or compiler warnings.
Boost.Core
Boost.Core, part of collection of the Boost C++ Libraries, is a collection of core utilities used by other Boost libraries. The criteria for inclusion is that the utility component be:
- simple,
- used by other Boost libraries, and
- not dependent on any other Boost modules except Core itself, Config, Assert, Static Assert, or Predef.
CI Status
| Branch | Travis | Appveyor |
|---|---|---|
| Develop | ||
| Master |
Directories
- doc - Documentation of the components
- include - Interface headers
- test - Unit tests
More information
- Documentation
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
99.3%
CMake
0.5%
HTML
0.2%