# HG changeset patch # User John W. Eaton # Date 1603171740 14400 # Node ID b02d9109fb6e753c62ff8957c52ab7b6ce6bc2d0 # Parent d24e34e179abe086edf7b8b2043c28b178621a92 mkoctfile: prefix warning messages with program name * mkoctfile.in.cc: Prefix all warning messages with "mkoctfile: ". diff -r d24e34e179ab -r b02d9109fb6e src/mkoctfile.in.cc --- a/src/mkoctfile.in.cc Tue Oct 20 01:35:35 2020 -0400 +++ b/src/mkoctfile.in.cc Tue Oct 20 01:29:00 2020 -0400 @@ -356,7 +356,7 @@ // FIXME: Remove LFLAGS in Octave 8.0 vars["LFLAGS"] = get_variable ("LFLAGS", DEFAULT_LDFLAGS); if (vars["LFLAGS"] != DEFAULT_LDFLAGS) - std::cerr << "warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead" << std::endl; + std::cerr << "mkoctfile: warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead" << std::endl; vars["F77_INTEGER8_FLAG"] = get_variable ("F77_INTEGER8_FLAG", %OCTAVE_CONF_F77_INTEGER_8_FLAG%); @@ -804,7 +804,7 @@ } else if (arg == "-largeArrayDims" || arg == "-compatibleArrayDims") { - std::cerr << "warning: -largeArrayDims and -compatibleArrayDims are accepted for compatibility, but ignored" << std::endl; + std::cerr << "mkoctfile: warning: -largeArrayDims and -compatibleArrayDims are accepted for compatibility, but ignored" << std::endl; } else if (arg == "-R2017b") { @@ -866,7 +866,7 @@ // FIXME: Remove LFLAGS checking in Octave 7.0 if (! strcmp (argv[i], "LFLAGS")) - std::cerr << "warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead" << std::endl; + std::cerr << "mkoctfile: warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead" << std::endl; if (! var_to_print.empty ()) std::cerr << "mkoctfile: warning: only one '" << arg @@ -983,11 +983,11 @@ else { if (r2017b_option) - std::cerr << "warning: -R2017b option ignored unless creating mex file" + std::cerr << "mkoctfile: warning: -R2017b option ignored unless creating mex file" << std::endl; if (r2018a_option) - std::cerr << "warning: -R2018a option ignored unless creating mex file" + std::cerr << "mkoctfile: warning: -R2018a option ignored unless creating mex file" << std::endl; }