2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-18 14:12:10 +00:00
Mateusz Łoskot cc6ba0ae72 Disable unaligned pointer access
Rename GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED
    to BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS.
Undefine BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS by default and document it.
If defined, issue warning or error, depending on target platform.

This changes how packed_channel_reference_base-based channels perform
access - aligned memory access by default.

This also fixes undefined behavior detected by UBSan in some test cases.
2018-06-27 00:02:27 -04:00
2018-06-27 00:02:27 -04:00
2017-07-13 10:01:51 -04:00
2018-06-27 00:02:27 -04:00
2018-06-27 00:02:27 -04:00
2018-06-27 00:02:27 -04:00

logo

Boost.GIL is a part of the Boost C++ Libraries.

The Boost Generic Image Library (GIL) is a C++ library that abstracts image representations from algorithms and allows writing code that can work on a variety of images with performance similar to hand-writing for a specific image type.

Licence Documentation Wiki Mailing List Gitter

Test results

Branch Travis (gcc/clang) AppVeyor (VS2017) CircleCI (gcc/clang) Regression
develop Travis AppVeyor CircleCI gil
master Travis AppVeyor - gil
Description
Mirrored via gitea-mirror
Readme 106 MiB
Languages
C++ 98.3%
CMake 1.6%
Shell 0.1%