gnucash master: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sun Oct 2 14:45:57 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/eb24099a (commit)
via https://github.com/Gnucash/gnucash/commit/23ca899a (commit)
from https://github.com/Gnucash/gnucash/commit/a6e2842e (commit)
commit eb24099a915b6bacc090b2a216b476abf7e01785
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Sep 17 15:47:05 2022 -0700
Limit instantiation of GncInt128 constructors to integral values.
Instead of using static_assert. This prevents the compiler from even
trying and avoids weird compilation errors when testing types for
instantiating other templates.
commit 23ca899a77c10c60740269b38c15fb22690c8a64
Author: John Ralls <jralls at ceridwen.us>
Date: Wed Sep 14 17:39:21 2022 -0700
Fix build on Apple Silicon or maybe Apple-clang-14.0
The compiler complains that there's no matching
gnc_register_number_range_option for GncOptionDB*, which without this
commit is true because the explicit templates are for GncOptionDBPtr&.
Note that the original template definition is for GncOptionDB* and
that the header-defined inlines that take GncOptionDBPtr& call the
GncOptionDB* version.
Summary of changes:
libgnucash/engine/gnc-int128.hpp | 33 ++++++++++-----------------------
libgnucash/engine/gnc-optiondb.cpp | 4 ++--
2 files changed, 12 insertions(+), 25 deletions(-)
More information about the gnucash-patches
mailing list