Mercurial > octave
diff libinterp/corefcn/gripes.cc @ 21081:397f6ee4a35d
Extend msg from gripe_disabled_feature to handle case where libraries not available.
* gripes.h (gripe_disabled_feature): Use 'fcn' rather than 'func' for
variable name.
* gripes.cc (gripe_disabled_feature): Use 'fcn' rather than 'func' for
variable name. Change message to "support for %s was unavailable or disabled
when %s was built".
author | Rik <rik@octave.org> |
---|---|
date | Sat, 16 Jan 2016 14:32:40 -0800 |
parents | 5a340d8458d6 |
children | 4484384a2959 |
line wrap: on
line diff
--- a/libinterp/corefcn/gripes.cc Fri Jan 15 20:28:09 2016 -0800 +++ b/libinterp/corefcn/gripes.cc Sat Jan 16 14:32:40 2016 -0800 @@ -55,11 +55,11 @@ } void -gripe_disabled_feature (const std::string& func, const std::string& feature, +gripe_disabled_feature (const std::string& fcn, const std::string& feature, const std::string& pkg /*="Octave"*/) { - error ("%s: support for %s was disabled when %s was built", - func.c_str (), feature.c_str (), pkg.c_str ()); + error ("%s: support for %s was unavailable or disabled when %s was built", + fcn.c_str (), feature.c_str (), pkg.c_str ()); } void