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

2016-04-04 Thread Earnie
On 4/4/2016 6:03 AM, Kai Tietz wrote: > 2016-04-02 16:48 GMT+02:00 Earnie : >> The mismatch of the header >> from the function being used should at least issue a warning but I would >> prefer to see an error. The ld auto-import feature just exacerbates the >> issue and when it was invented I wish

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

2016-04-04 Thread Kai Tietz
2016-04-02 16:48 GMT+02:00 Earnie : > On 4/1/2016 12:55 PM, Tony Kelman wrote: >> 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 d

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

2016-04-02 Thread Earnie
On 4/1/2016 12:55 PM, Tony Kelman wrote: > 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 symbo

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 Kai Tietz
Hi, well the 'dllexport' attribute is in gcc not part of any symbol decoration. And I would be pretty curious to learn that this attribute has such in msc. It just specifies the linkage of a symbol. If you mark a symbol as being 'dllexport'ed, it means that the address of this symbol will be put

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

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

2016-03-31 Thread lh_mouse
- 发件人:Vincent Torri 发送日期:2016-04-01 14:33 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] How to make __declspec(dllexport) more picky? https://msdn.microsoft.com/en-us/library/dabb5z75.aspx On Fri, Apr 1, 2016 at 8

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

2016-03-31 Thread Vincent Torri
--- > 发件人:Tony Kelman > 发送日期:2016-04-01 14:02 > 收件人:mingw-w64-public > 抄送: > 主题:[Mingw-w64-public] How to make __declspec(dllexport) more picky? > > Sorry in advance if this is an RTFM question. We test Julia's Windows > build agai

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

2016-03-31 Thread lh_mouse
u can file a bug report at https://gcc.gnu.org/bugzilla/. -- Best regards, lh_mouse 2016-04-01 - 发件人:Tony Kelman 发送日期:2016-04-01 14:02 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] H

[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