missing include

Michael Goffioul michael.goffioul at gmail.com
Sat Jun 21 02:36:02 CDT 2008


On Fri, Jun 20, 2008 at 10:41 PM, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
> OK.  I guess the Octave sources always happen to include the typedef
> before including MatrixType.h, but I don't see a problem with doing it
> in the MatrixType.h header itself.  I applied the changeset.

The problem was triggered by a user-made oct-file that happened to
include <octave/Matrix.h>. If you follow the inclusion pattern, you find
that MatrixType.h is the first file to be parsed, but this requires the
definition of octave_idx_type.

Michael.


More information about the Bug-octave mailing list