[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55277] some public Octave header files are mi
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #55277] some public Octave header files are missing type includes or forward decls |
Date: |
Mon, 24 Dec 2018 17:19:55 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55277>
Summary: some public Octave header files are missing type
includes or forward decls
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Mon 24 Dec 2018 02:19:53 PM PST
Category: Libraries
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.0
Operating System: GNU/Linux
_______________________________________________________
Details:
Some of Octave's public header files do not include the necessary headers or
forward declarations for types used in their own declarations.
* gl-render.h: include file oct-opengl.h not found, private header?
* gl2ps-print.h: ditto
* load-save.h: octave_value_list not defined
* oct-hist.h: interpreter, octave_value, and octave_value_list not defined
* pager.h: octave_value_list not defined
* pt-tm-const.h: octave::tree_matrix incomplete type (forward decl not good
enough)
* settings.h: octave_value and size_t not defined
The file settings.h is new in Octave 5. The rest of these files all included
cleanly in Octave 4.4.1.
The following shell code was used to test all include files:
for f in $(find $octincludedir -type f -name '*.h' -print | grep -Ev
'mex|ov-intx'); do
n=$(basename $f)
echo "#include <$n>" > foo.cc
cat foo.cc
mkoctfile-5.0.1 -c foo.cc
done
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55277>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55277] some public Octave header files are missing type includes or forward decls,
Mike Miller <=