"main is usually a function" warning in jdmainct.c
3D Engine c++
Brought to you by:
cutealien,
nimphoenix2
I modified the code in jdmainct.c to eliminate some compile-time warnings
(jpeglib\jcmainct.c|71|warning: 'main' is usually a function [-Wmain])
I renamed the variable "main" to "pMain" in the entire file.
I enclose here the modified file.
Sorry, but I don't plan to change the jpeglib inside Irrlicht as it makes updating harder (those kind of patches either get lost on each update or cause extra care&work... usually means also they get lost). This would have to be changed directly in the original jpeglib.