commandline: Warn when -D is ignored in release mode
This commit is contained in:
parent
46715fec66
commit
04b3cf980e
@ -179,6 +179,8 @@ ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
|
|||||||
if (PBD::parse_debug_options (optarg)) {
|
if (PBD::parse_debug_options (optarg)) {
|
||||||
exit (EXIT_SUCCESS);
|
exit (EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
cerr << "This is not a debug build - igoring '-D " << optarg << "'" << endl;
|
||||||
#endif /* NDEBUG */
|
#endif /* NDEBUG */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user