-----BEGIN PGP SIGNED MESSAGE-----
I have a problem with my source code which seems due to a difference in
the linker handling of local import of exported symbols.
I have a symbol foo marked as __declspec(dllexport) when it is defined
and whose prototype is marked as __declspec(dllimport) when compiling
other files (via a set of defines which export from the C++ file that
contains the function and imports otherwise). When both objects are
linked into a DLL, the linker issues an error about missing __imp_foo.
Under MSVC, the same code triggers warnings about local import of
exported symbols, but the DLL is created and works correctly.
Is there any way to obtain the same linker behavior with MinGW?
Gilles Depeyrot <mailto:Gilles.Depeyrot@...>
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 (Build 288) Beta
-----END PGP SIGNATURE-----
Get latest updates about Open Source Projects, Conferences and News.