Timo what about to use all GNU-Win tools?
We can compile them in source and merge in the tool so it can do anything in one pass: backup the system, copy files and patch them.
Anyway the things changed very fast, a new release of compiler has been deployed, and from I can read many bugs have been removed and more functionalities have been added.
I.e when pelle say
Added #pragma default_convention() to deal with annoying third-party header files.
what is the side effect on MS-headers?EDIT: That's just for headers that miss the correct calling convention (to avoid to patch all functions call).
Unfortunately I only have an XP-PE32 machine for all my jobs (and don't want take more with me around the world) I can't take a look to the new version not even to documentation (refuses to install on XP).
So I'm considering:
- Is this just a waste of time? Maybe new version doesn't need patching or not made this way...
- All the patches we have found and fixed, showed on the locked thread, have a sense? We are blindly patching headers were the presence of polymorphism clearly shows that that files are intended for C++ (the patches applied permit to use them from plain C , but are the majority of us able to use them?). Will they be of any use? Who tested any program that needs them?
- In the new release Pelle added some more headers maybe they are enough?
- Some patches relative to zero size arrays are plain C class trnslations, while the patches remove the warnings are the structure functional? who take care of verify if they works? There are many ways to patch this kind of declaration is the chosed one the correct one?
Maybe we have to complete the tool and made it working on the base set of headers, then add something else when it use is requested...