Ooh. That always bothered me so much. Is it a C#ism?
Any libsdl2 devs want to do me a favor? When compiling 2.0.9 for Android with GCC 7.2.0, there are a handful of function declarations that it throws a fit about because the prototypes are declared () rather than (void). If you're in a position to commit a fix, HMU for details.
-
-
-
No, it's a warning generated by (at least) GCC 7.2.0. Pretty much every compiler can and will allow you to declare a function as "void foo();", but depending on your toolchain, it might throw a warning that you're supposed to declare it as "void foo(void);" instead.
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.