On Tue Jun 13 22:31:42 2023 +0000, Fabian Maurer wrote:
Only the jxrgluelib files must be compiled with __ANSI__, the others break if you try. Suggestions how to do that without editing the lib/ files itself? Because AFAIK I'm not supposed to edit those. Maybe nested Makefiles? But I don't know if or how that works.
As far as I can tell, jxrlib is abandonware, and C89/C99 conformance isn't the only problem with it (scan-build identified others). My guess is that at some point Wine is just going to have to fork jxrlib, but I don't think it's worth it to fork just for the sake of GCC 4.3. If you have to compile Wine with GCC 4.3, I suggest running `./configure --disable-wmphoto`.