hi all!

we have a program:


        /* Prototypes */
        void GJFullPivotInvert(int rank, const double **ar, double **target);
        void PrintMatrixD(int rank, double **ar);

        #include<stdio.h>
        int main(void)
        {
                double A[3][3] = {{1.0,2.0,3.0},{4.0,5.0,6.0},{7.0,8.0,9.0}};
                double inverse[3][3];

                GJFullPivotInvertD(rank, A, inverse);
                PrintMatrixD(3, inverse);

                return(0);
        }


inverse will be initialized in GJFullPivotInvertD.

gcc complains about the call to PrintMatrix, but not about the call to
GJFullPivotInvertD().  here is the error:

example.c: In function `main':
example.c:32: warning: passing arg 2 of `PrintMatrixD' from incompatible pointer type

can anyone shed light on this seeming inconsistency?

thanks,
rhonda and pete


Reply via email to