Last fall I wrote a program using chudSetPMCModes to allow me to do a
basic clock cycle count. The basic outline is listed below. The problem
is, this code is giving me warnings when I try to call chudSetPMCModes.
I do this in 3 places:
call_combine.c: In function `call_combine':
call_combine.c:63: warning: passing arg 2 of `chudSetPMCModes' from
incompatible pointer type
call_combine.c:67: warning: passing arg 2 of `chudSetPMCModes' from
incompatible pointer type
call_combine.c:68: warning: passing arg 2 of `chudSetPMCModes' from
incompatible pointer type
The code compiles and runs on my G4 Ti powerbook, and G3 ibook. But
fails to compile on G5 machines after giving the same warnings. As I
recall, when I wrote this I didn't receive these error messages when I
compiled. Has the chudSetPMCModes function changed inside of CHUD since
last fall? Where can I go about finding out about this function so I
can get my code working on G5's?