1
0
forked from boostorg/core
Andrey Semashev dea6b04157 Added workarounds for gcc < 4.7 on Linux and OpenBSD.
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.
2019-01-08 00:23:09 +03:00
2019-01-06 04:43:47 +02:00
2019-01-06 04:43:47 +02:00
2014-08-21 20:33:19 +01:00

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 Build Status Build Status
Master Build Status Build Status

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.

S
Description
Boost Core Utilities
Readme 1.9 MiB
Languages
C++ 99.3%
CMake 0.5%
HTML 0.2%