Which c++ compiler can compile next code?
void (*G2API_CopyGhoul2Instance)(CGhoul2Info_v &ghoul2From,
CGhoul2Info_v &ghoul2To,
int modelIndex = -1); //<--- That's it!
It is not my code and I have a lot of such things. I know that standart didn't allow such declaration, but this comment tells me that some compilers allow it.
P.S. This code from Star Wars Jedi Knight: Jedi Academy source.
Can't suggest the compiler though I've found a useful link which lists out the fixes that are required to the code to successfully compile it with GCC compiler.
http://www.lucasforums.com/showthread.php?t=203922
Hope it is useful to you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With