
Jason Tishler <jason@tishler.net> writes:
I feel this is the best approach because modules should build under Cygwin without the standard Cygwin style patch that I have been submitting for years. Do others concur? If so, then I will begin to clean up the "mess" that I have created.
This is what I thought a reasonable operating system and compiler should do by default, without even asking. I certainly agree that it is desirable that you can put function pointers into static structures, so if it takes additional compiler flags to make it so, then use those flags. I'm unclear why you have to *omit* the declspec, though, to make it work - I thought that __declspec(dllimport) is precisely the magic incantation that makes the compiler emit the necessary thunks.
Now if SF could search for patches by the submitter, my job would be a little easier...
Doing a full-text search on Cygwin should give a pretty good hit ratio. regards, Martin