This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: C++ app segfaults in libstdc++
On 17/06/2010 16:23, Charles Wilson wrote:
> As expected, this didn't work. But...the imports and exports are NOT
> what I expected, so I'm a little confused:
> Err, what? (a) why is this DLL exporting modexc stuff, when it is marked
> dllimport in this context? (b) why is this DLL exporting std::exception
> stuff?
Looks like an e-a-s bug causing linked-in __imp_ symbols to get re-exported.
That's not supposed to happen, but if you remove e-a-s (and add the standard
dllimport/dllexport macro dance in the module .h and .cpp files) you get more
sensible looking exports.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple