Mercurial > octave
changeset 27130:396d17dcfb9f
don't include error.h in ov-base.h
* ov-base.h: Don't include error.h.
* oct-handle.h, stack-frame.h, cdef-class.h, cdef-object.h,
cdef-property.h, nproc.cc, strfind.cc, syminfo.cc:
Include error.h in header files that need it.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 30 May 2019 10:23:44 +0000 |
parents | 7ff128cf978e |
children | acedcba362be |
files | libinterp/corefcn/nproc.cc libinterp/corefcn/oct-handle.h libinterp/corefcn/stack-frame.h libinterp/corefcn/strfind.cc libinterp/corefcn/syminfo.cc libinterp/octave-value/cdef-class.h libinterp/octave-value/cdef-object.h libinterp/octave-value/cdef-property.h libinterp/octave-value/ov-base.h |
diffstat | 9 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/nproc.cc Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/corefcn/nproc.cc Thu May 30 10:23:44 2019 +0000 @@ -24,8 +24,10 @@ # include "config.h" #endif +#include "nproc-wrapper.h" + #include "defun.h" -#include "nproc-wrapper.h" +#include "error.h" DEFUN (nproc, args, , doc: /* -*- texinfo -*-
--- a/libinterp/corefcn/oct-handle.h Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/corefcn/oct-handle.h Thu May 30 10:23:44 2019 +0000 @@ -28,6 +28,7 @@ #include "dMatrix.h" #include "lo-ieee.h" +#include "error.h" #include "ov.h" // ---------------------------------------------------------------------
--- a/libinterp/corefcn/stack-frame.h Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/corefcn/stack-frame.h Thu May 30 10:23:44 2019 +0000 @@ -34,6 +34,7 @@ class octave_value; class octave_value_list; +#include "error.h" #include "ov-fcn.h" #include "ov-fcn.h" #include "ov-fcn-handle.h"
--- a/libinterp/corefcn/strfind.cc Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/corefcn/strfind.cc Thu May 30 10:23:44 2019 +0000 @@ -36,6 +36,7 @@ #include "builtin-defun-decls.h" #include "defun.h" #include "errwarn.h" +#include "error.h" #include "ov.h" #include "unwind-prot.h" #include "utils.h"
--- a/libinterp/corefcn/syminfo.cc Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/corefcn/syminfo.cc Thu May 30 10:23:44 2019 +0000 @@ -30,6 +30,7 @@ #include <sstream> #include "Cell.h" +#include "error.h" #include "octave-preserve-stream-state.h" #include "ov.h" #include "oct-map.h"
--- a/libinterp/octave-value/cdef-class.h Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/octave-value/cdef-class.h Thu May 30 10:23:44 2019 +0000 @@ -35,6 +35,7 @@ #include "cdef-object.h" #include "cdef-package.h" #include "cdef-property.h" +#include "error.h" #include "ov.h" #include "ovl.h"
--- a/libinterp/octave-value/cdef-object.h Wed May 29 22:45:42 2019 +0000 +++ b/libinterp/octave-value/cdef-object.h Thu May 30 10:23:44 2019 +0000 @@ -30,6 +30,7 @@ #include "oct-refcount.h" +#include "error.h" #include "oct-map.h" #include "ov.h" #include "ovl.h"