Re: quick and rudimentary

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Mon, 12 Oct 1998 16:59:28 +0200 (MET DST)


>
>
> I'm tired of these compiler warnings
>
> "float (*)[4]" is incompatible with parameter of type "const float (*)[4]"
>
> I want to do things like
>
> pfMatrix m1,m2,m3;
> pfPostMultMat(m2,m3);
> pfPostMultMat(m1,m2);
>
> (e.g., reuse constant input matrices as output matrices)
>
> Any tips? (Besides disabling this warning or switching to C++ :)
>
> Thanks,
> Steve
> --
> stephen.maher++at++gsfc.nasa.gov (301) 286-3368 fax:(301) 286-1776

Use the #pragma to set and reset warning numbers around some parts of
the code

#pragma set woff 1122

<code that generates warning 1122>

#pragma reset woff 1122

Mario


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Oct 12 1998 - 08:00:28 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.