|
From: Seth W. <bm...@pa...> - 2005-05-18 18:33:33
|
On May 18, 2005, at 9:29 AM, James W. Walker wrote:
> I don't usually use XCode, but I made a new project and added the
> debug Quesa framework from 1.7. In main.c, I added
>
> #define QUESA_OS_MACINTOSH 1
> #include <Quesa/Quesa.h>
> #include <Quesa/QuesaErrors.h>
>
> and in the main function,
>
> if (Q3Error_Get(nil) != kQ3ErrorNone)
> {
>
> }
>
> It compiles with no warnings or errors.
Of course it just occured to me.... this won't give you any warnings
or errors.
Add the two lines:
printf("Error: %i \n", error);
printf("kQ3ErrorNone: %i \n", kQ3ErrorNone);
You should get the two warnings:
warning: int format, different type arg (arg 2)
I disabled the error checking entirely and the whole app still works
fine. Except for some issues with translucent geometry. I'm not sure
what's about.
-- Seth
|