Re: Trying to use a static lib compiled with gcc in a VS application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Tammy Lavi" <tammy.lavi@xxxxxxxxx> writes:

> I am working with eclipse CDT, and compiled a static C++ library using
> gcc compiler.
>
> I am now trying to use this library with a MFC GUI application on VS6,
> but I get an LNK2001 error message from the VS Linker.

You can't mix and match C++ code compiled by gcc with code compiled by
MSVC.  They use different name mangling and a different ABI.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux