Menu

#308 "main is usually a function" warning in jdmainct.c

closed-rejected
nobody
5
2017-03-22
2016-01-13
No

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.

1 Attachments

Discussion

  • Michael Zeilfelder

    • status: open --> closed-rejected
     
  • Michael Zeilfelder

    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.

     

Log in to post a comment.