From 61d1d7ea0e957321f530e269cecfbdf6520f0abd Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 19 Jun 2013 16:42:10 +0000 Subject: [PATCH] dll-export hasher when building unit tests. improve linker output parsing in test script --- include/libtorrent/hasher.hpp | 2 +- tools/parse_test_results.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/hasher.hpp b/include/libtorrent/hasher.hpp index a0806b6ed..e76617a40 100644 --- a/include/libtorrent/hasher.hpp +++ b/include/libtorrent/hasher.hpp @@ -74,7 +74,7 @@ namespace libtorrent namespace libtorrent { - class hasher + class TORRENT_EXTRA_EXPORT hasher { public: diff --git a/tools/parse_test_results.py b/tools/parse_test_results.py index ec8a5e66e..e2713b849 100755 --- a/tools/parse_test_results.py +++ b/tools/parse_test_results.py @@ -51,7 +51,7 @@ def style_output(o): ret += '%s\n' % l elif ': error: ' in l or ': fatal error: ' in l or ' : fatal error ' in l or \ 'failed to write output file' in l or ') : error C' in l or \ - ') : error LNK' in l: + ') : error LNK' in l or ': undefined reference to ' in l: ret += '%s\n' % l elif ': warning: ' in l or ') : warning C' in l: ret += '%s\n' % l