Re: [Mingw-w64-public] How to make __declspec(dllexport) more picky?

2016-04-01 Thread Tony Kelman
Kai Tietz writes: > So I am wondering a bit, what you actual mean here? I guessed first > that you were referring to the auto-import feature of ld. As this > feature indeed make it unnecessary to specify dllimport attribute on > an external symbol. So could you please describe your issue a bit

Re: [Mingw-w64-public] How to make __declspec(dllexport) more picky?

2016-04-01 Thread Tony Kelman
lh_mouse writes: > > MSVC is irrelevant. > > You should have read the friendly GCC manual I think. > https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc/Function-Attributes.html #index-g_t_0040code_007bdllexport_007d-function-attribute-3069 I found what looks like a more pertinent and detailed resour

[Mingw-w64-public] How to make __declspec(dllexport) more picky?

2016-03-31 Thread Tony Kelman
Sorry in advance if this is an RTFM question. We test Julia's Windows build against mingw-w64 continuously, but only rarely build with MSVC or Windows Clang on a more experimental basis. One of the inconsistencies that comes up fairly often is that mingw-w64 is more tolerant of headers and implemen