Mail Archives: djgpp/1994/01/15/23:15:35
Dear Paul,
To get NEWMAT07 to compile with djgpp you need to add an "inline" to
the Rectangular class inside the MatrixType class. This is about
line 149 of newmat.h.
like this:
. . .
class MatrixType
{
public:
. . .
inline <--- I added this.
friend Boolean Rectangular(MatrixType a, MatrixType b, MatrixType c)
{ return ((a.attribute | b.attribute | c.attribute)
& ~MatrixType::Valid) == 0; }
. . .
This causes all to compile and link O.K. But some tests still don't run.
I'm at a loss to explain why.
-- Greg
PS
There is #ifdef's sprinkled in the code for GNUG compiler, but the
latest version of djgpp do not need any of these patches.
- Raw text -