summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-10-29 11:00:20 +0100
committerMax Kellermann <max@musicpd.org>2018-10-29 11:05:35 +0100
commit1e6c445320a42acd0169e8546411c4b58b212b8e (patch)
tree3e2abea7fd9fdb8bd2eb682e826091a84f32d6b5 /src/input
parente02c1adf795c496a38946488c2c983908fe18bd2 (diff)
configure.ac: add `-funwind-tables` to work around clang bug
Replaces the workaround from commit 751fff07fb28720156d0d1dc833a2b6534959a0d which fixed only one of many crash locations. See: https://github.com/MusicPlayerDaemon/MPD/issues/373 https://github.com/android-ndk/ndk/issues/831 https://bugs.llvm.org/show_bug.cgi?id=32611
Diffstat (limited to 'src/input')
-rw-r--r--src/input/Error.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/input/Error.hxx b/src/input/Error.hxx
index 0811abc68..b52b9d06b 100644
--- a/src/input/Error.hxx
+++ b/src/input/Error.hxx
@@ -30,15 +30,7 @@
* exist? This function attempts to recognize exceptions thrown by
* various input plugins.
*/
-#ifndef __clang__
-/* the "pure" attribute must be disabled because it triggers a clang
- bug, wrongfully leading to std::terminate() even though the
- function catches all exceptions thrown by std::rethrow_exception();
- this can be reproduced with clang 7 from Android NDK r18b and on
- clang 6 on FreeBSD
- (https://github.com/MusicPlayerDaemon/MPD/issues/373) */
gcc_pure
-#endif
bool
IsFileNotFound(std::exception_ptr e);