Using ILvoid as the only function argument is broken
A full featured cross-platform image library
Brought to you by:
doomwiz
I recently tried to compile 'devil' using gcc-4.2.0. It complains about the use of a typedef to void (namely ILvoid) to denote that a function doesn't receive any arguments like in "ILvoid f(ILvoid)". This is ill formed and should at least be changed to a plain void like in
"ILvoid f(void)". Using ILvoid as a return type is fine although it is ugly and doesn't serve any purpose as void will never change.
A patch to fix it.
Logged In: YES
user_id=1595317
Originator: YES
File Added: devil_void.patch