Benedikt Kessler (bjk++at++munich.sgi.com)
Wed, 14 Oct 1998 16:21:04 +0200
Stephen Maher wrote:
...
>
> > Can't you use a 'cast' to fix it? (I don't use C so I don't know for sure):
> >
> > pfPostMultMat(m2,(const float (*)[4]) m3);
> >
>
> No. The C compiler doesn't like type qualifiers like const and volatile
> in cast expressions.
Works perflectly for me (using C Front-end, 7.2.1):
> pfPostMultMat ( workMat , (const float (*)[4]) putinvmat );
Bye! Benedikt
-- +---------------------------------+----------------------------------+ |Benedikt J. Kessler | Silicon Graphics GmbH | |Training Munich | Am Hochacker 3 - Technopark | |Silicon Graphics Computer Systems| 85630 Grasbrunn-Neukeferloh, FRG | | --- __o ,__o | | | ------_ \<,_ _-\_<, | Phone: (+int) 89 46108-212 or -0 | |----- (*)/ (*) (*)/'(*) | Fax: (+int) 89 46107-212 | +---------------------------------+----------------------------------+ |E-Mail: bjk++at++sgi.com | | Web: http://www.sgi.de/dienstleistungen/ | +--------------------------------------------------------------------+
This archive was generated by hypermail 2.0b2 on Wed Oct 14 1998 - 07:21:20 PDT