13
0

commandline: Warn when -D is ignored in release mode

This commit is contained in:
Mads Kiilerich 2024-07-25 13:03:28 +02:00
parent 46715fec66
commit 04b3cf980e

View File

@ -179,6 +179,8 @@ ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
if (PBD::parse_debug_options (optarg)) {
exit (EXIT_SUCCESS);
}
#else
cerr << "This is not a debug build - igoring '-D " << optarg << "'" << endl;
#endif /* NDEBUG */
break;