comparison libinterp/corefcn/gripes.h @ 19064:9ef10e6a5987

make "file found in path" warnings consistent * gripes.h, gripes.cc (gripe_data_file_in_path): New function. * utils.h, utils.cc (find_data_file_in_path): New function. Use gripe_data_file_in_path to warn. * file-io.cc (do_stream_open): Call find_data_file_in_path to search path for file. * load-save.cc (find_file_to_load): Likewise. * md5sum.cc (Fmd5sum): Likewise. * octave.cc (maximum_braindamage): Disable new Octave:data-file-in-path warning ID instead of Octave:fopen-file-in-path and Octave:load-file-in-path. * NEWS: Note change.
author John W. Eaton <jwe@octave.org>
date Tue, 19 Aug 2014 06:40:53 -0400
parents 175b392e91fe
children 4197fc428c7d
comparison
equal deleted inserted replaced
19063:8c648c3a2c8f 19064:9ef10e6a5987
129 gripe_warn_complex_cmp (void); 129 gripe_warn_complex_cmp (void);
130 130
131 extern OCTINTERP_API void 131 extern OCTINTERP_API void
132 gripe_disabled_feature (const std::string& func, const std::string& feature, 132 gripe_disabled_feature (const std::string& func, const std::string& feature,
133 const std::string& pkg="Octave"); 133 const std::string& pkg="Octave");
134
135 extern OCTINTERP_API void
136 gripe_data_file_in_path (const std::string& fcn, const std::string& file);
137
134 #endif 138 #endif