2009/8/7 Austin English <[email protected]>:
>>> +void D3DTest_initD3D();
>> This needs to be "void D3DTest_initD3D(void);" in C. The same goes for
>> a couple of other functions.
>
> I received mixed feedback on #winehackers about this. So currently
> left as is...is there a CFLAG/gcc switch to detect this, without using
> -ansi (which gives a crapton of other warnings).
>
You really want to add the "void". In the current form it's an K&R
style non-prototype function declaration. I.e., the number of
arguments to the function is undefined, rather than 0.


Reply via email to