ref: cdccd3aeb619cb88461396154ca36276deeea4d6
parent: 995656f727fc4a70e1e868bb223564bdce73101f
author: cancel <cancel@cancel.fm>
date: Mon Dec 31 05:38:16 EST 2018
Add warning to build tool about asan in debug builds with portmidi
--- a/tool
+++ b/tool
@@ -316,6 +316,9 @@
if [[ $portmidi_enabled = 1 ]]; then
add libraries -lportmidi
add cc_flags -DFEAT_PORTMIDI
+ if [[ $1 = debug ]]; then
+ echo -e "Warning: The PortMIDI library contains bugs.\nIt may trigger address sanitizer in debug builds.\nThese are not bugs in orca." >&2
+ fi
fi
;;
esac