Compiler warnings

New Message Reply Date view Thread view Subject view Author view

From: Guy Wallis (gwallis++at++hms.uq.edu.au)
Date: 05/01/2000 18:35:01


Hallo,
I've just started using Performer and decided to compile the examples in /usr/share/Performer/src/pguide/libpf/C
They compiled OK but I got a lot of compiler warnings of the following type:
 

 /usr/bin/cc     -DN32 -DIRIX6_5   -I/usr/include -fullwarn  -nostdinc -I/usr/include -mips3 -n32 -O --MDupdate Makedepend -woff 1685,515,608,658,799,803,852,1048,1233,1499 -c ../text3D.c
cc-1164 cc: WARNING File = ../text3D.c, Line = 96
  Argument of type "float (*)[4]" is incompatible with parameter of type
          "const float (*)[4]".

        pfStringMat(GSetStrings[EXTRUDED], mat);
                                           ^^^

This is true for many other function calls with pfMatrix as an argument e.g.:

pfPostTransMat(), pfLoadMatrix(), pfMultMatrix().

I guess removing-fullwarn would hide this problem, but like the writers of the original Makefile in the pguide directory, I like to use this feature. Is there some way of eradicating this warning rather than ignoring it.

Many thanks,

Guy
 


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon May 01 2000 - 18:29:53 PDT

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