Brett Paterson wrote:
Assert.h and assert() macro dont exist in MS Embedded VisualC, as well as sys/types.h, fcntl.h and errno.h. The last 3 can be ifdef'ed out, for the assert macro I just put something like this in
#ifdef _WIN32_WCE # include <windows.h> #define assert ASSERT #else # include <assert.h> #endif
Thanks; I'll try to incorporate a fix for these in the next release.
There are also a heap of warnings that appear that I can list if wanted.
I'm sure most if not all of the warnings can be ignored. I suggest changing the warning level for libmad to 1 and madplay to 2.
PS, mad works pretty well on the jornada and ipaq. It takes about 15% cpu on the ipaq to play a stereo mp3 with opt_speed on and no asm, and about 55% on the jornada (well not great but its a crap cpu).
What CPU is in the Jornada?
Cheers, -rob