Mercurial > octave
changeset 25149:dd774017866b
allow most headers to be included alone (bug #53505)
* pt-unop.h, sparse-chol.h, sparse-qr.h: Include or declare required
symbols to allow file to be included alone.
* oct.h: Don't include gripes.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 07 Apr 2018 15:06:20 -0400 |
parents | 5960fd1b56f1 |
children | baadbf803b10 |
files | libinterp/corefcn/oct.h libinterp/parse-tree/pt-unop.h liboctave/numeric/sparse-chol.h liboctave/numeric/sparse-qr.h |
diffstat | 4 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/oct.h Sat Apr 07 10:59:11 2018 -0400 +++ b/libinterp/corefcn/oct.h Sat Apr 07 15:06:20 2018 -0400 @@ -32,8 +32,6 @@ #include "defun-dld.h" #include "error.h" #include "errwarn.h" -// gripes.h was deprecated in version 4.2 and will be removed in 4.6 -#include "gripes.h" #include "help.h" #include "ovl.h" #include "pager.h"
--- a/libinterp/parse-tree/pt-unop.h Sat Apr 07 10:59:11 2018 -0400 +++ b/libinterp/parse-tree/pt-unop.h Sat Apr 07 15:06:20 2018 -0400 @@ -30,6 +30,7 @@ class octave_value; class octave_value_list; +#include "ov.h" #include "pt-exp.h" #include "pt-walk.h"