7 Aug
2009
7 Aug
'09
6:22 a.m.
2009/8/7 Austin English <austinenglish(a)gmail.com>:
+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.