Mercurial > hg > octave-lojdl
changeset 8012:63dbb85452cc
fix extern decls in .cc files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 06 Aug 2008 14:39:59 -0400 |
parents | 3100283874d7 |
children | b3e667f1ab4c |
files | src/ChangeLog src/gripes.cc src/pr-output.cc src/utils.cc |
diffstat | 4 files changed, 11 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,11 @@ 2008-08-05 John W. Eaton <jwe@octave.org> + * gripes.cc (gripe_truncated_conversion, + gripe_logical_conversion): Don't declare as extern here. + * utils.cc (octave_format, octave_vformat): Likewise. + * pr-output.cc (octave_print_internal (std::ostream&, const Cell&, + bool, int, bool)): Likewise. + * toplev.cc (octave_call_stack::backtrace_error_message): New function. * toplev.h: Provide decl.
--- a/src/gripes.cc +++ b/src/gripes.cc @@ -197,14 +197,14 @@ warning_with_id ("Octave:divide-by-zero", "division by zero"); } -extern void +void gripe_logical_conversion (void) { warning_with_id ("Octave:logical-conversion", "value not equal to 1 or 0 converted to logical 1"); } -extern void +void gripe_truncated_conversion (const char *srctype, const char *desttype) { warning_with_id ("Octave:int-convert-overflow",