From 75cdd13e29b7bbd8ff16f81f7b3b1043f752e71e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Nov 2017 17:48:30 +0100 Subject: player: log if NDEBUG is defined I sure want to know whether assert()s were unexpectedly not compiled in. --- player/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player') diff --git a/player/main.c b/player/main.c index afd35d5a0d..2a3b6c62ea 100644 --- a/player/main.c +++ b/player/main.c @@ -149,6 +149,9 @@ void mp_print_version(struct mp_log *log, int always) if (!always) { mp_msg(log, MSGL_V, "Configuration: " CONFIGURATION "\n"); mp_msg(log, MSGL_V, "List of enabled features: %s\n", FULLCONFIG); + #ifdef NDEBUGs + mp_msg(log, MSGL_V, "Built with NDEBUG.\n"); + #endif } } -- cgit v1.2.3