Home » Questions » dsp and gcc
I have compiled the Cddarip example with GCC, but when I try to execute it, the ripper crashes. However, if I compile it with MS Visual C++ it works fine. Any idea?
It seems to be a GCC (g++) bug. I have downloaded MinGW 3.3.3 and the DSP works. However, gcc 3.3.3 is still a candidate version.
I have found a workaround for this GCC bug:
Rather than declaring
void* F_CALLBACKAPI DSP_RawWriteCallback(…
try to declare:
typedef void* PTVOID;
PTVOID F_CALLBACKAPI DSP_RawWriteCallback(…
I am using MinGW 3.2
Please login first to submit.
Copyright 2016 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.