Stephan Bergmann 7b7852efa5 Fix hb_atomic_* variants based on C++11 atomics
I stumbled over this when trying to upgrade the version of HarfBuzz used by
LibreOffice to 3.2.1 (see <https://gerrit.libreoffice.org/plugins/gitiles/core/
+/b7ddc514bff9bdf682abae537f990aa01dc2c0fb%5E!/> "Upgrade to latest
HarfBuzz 2.3.1"), where building with MSVC 2017 failed like

> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2440: 'reinterpret_cast': cannot convert from 'const int *' to 'std::atomic<int> *'
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): note: Conversion loses qualifiers
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2227: left of '->load' must point to class/struct/union/generic type

(see <https://ci.libreoffice.org/job/gerrit_windows/29916/>).

I added all the necessary "const" to make building of HarfBuzz 2.3.1 with
MSVC 2017 succeed for me.  There may be more missing at least conceptually.
2019-03-29 18:14:59 -07:00
2019-02-14 11:34:28 -08:00
2018-11-26 18:58:39 +03:30
2019-03-29 18:14:59 -07:00
2019-01-17 16:08:30 -05:00
2018-10-18 00:35:01 -07:00
2018-02-20 14:36:14 -08:00
2018-10-19 19:24:05 +03:30
2019-01-30 15:10:33 -08:00
2012-10-28 21:26:19 -07:00
2017-10-27 10:23:01 -06:00
2018-02-16 14:16:28 -08:00
2018-02-16 14:16:28 -08:00
2019-01-30 13:54:15 -08:00
2019-01-28 20:39:16 -05:00
2018-10-19 19:24:05 +03:30
2018-10-19 19:24:05 +03:30
2018-10-30 15:52:26 -07:00
2012-08-10 14:50:05 -04:00

Travis Build Status AppVeyor Build Status CircleCI Build Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage ABI Tracker

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

http://harfbuzz.org/

For license information, see the file COPYING.

Documentation: https://harfbuzz.github.io

S
Description
HarfBuzz text shaping engine
Readme
125 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 73.3%
C 16.2%
Python 3.2%
Hack 2.3%
Meson 1.1%
Other 3.8%