gnucash master: Build test-import-pending-matches as c++
Geert Janssens
gjanssens at code.gnucash.org
Thu Aug 24 15:55:10 EDT 2017
Updated via https://github.com/Gnucash/gnucash/commit/64f36323 (commit)
from https://github.com/Gnucash/gnucash/commit/29a92431 (commit)
commit 64f36323b23d6dc9eb2eab9eb2630f1efc0a64ef
Author: Geert Janssens <geert at kobaltwit.be>
Date: Wed Aug 23 15:07:13 2017 +0200
Build test-import-pending-matches as c++
It depends on libgncmod-test-engine which needs c++ building/linking.
Without this change the next commit would produce the following linker error:
/usr/bin/ld: ../../../libgnucash/engine/test-core/.libs/libgncmod-test-engine.a(test-engine-stuff.o): undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
/usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command line
Making the test compila as C++ solves the issue.
For reference commit ff07762 and commit 5e7dd9 seem to be related and
have additional explanations.
Summary of changes:
gnucash/import-export/test/CMakeLists.txt | 4 ++--
gnucash/import-export/test/Makefile.am | 3 ++-
...{test-import-pending-matches.c => test-import-pending-matches.cpp} | 2 ++
3 files changed, 6 insertions(+), 3 deletions(-)
rename gnucash/import-export/test/{test-import-pending-matches.c => test-import-pending-matches.cpp} (99%)
More information about the gnucash-patches
mailing list