public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* multiple definition of `typeinfo for std::exception'
@ 2004-02-10 15:35 Aleksei Andevis
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksei Andevis @ 2004-02-10 15:35 UTC (permalink / raw)
  To: gcc-help

Hell All again!
In my project I user STL_PORT 4.5.3 compiled under
Mingw32 3.3.1 , and mostly parts linked fine
but in one my dll I user
follows construction

class _SHARED_BASE_EXPORT MyError : public std::exception

and when I linked this DLL with stlport library tohether
linker produced follows:

----------------------------------------------------------------------------
--------------------------------
Linking...

\mingw\lib\libstdc++.a(eh_personality.o)(.data$_ZTISt9exception+0x0):
multiple definition of `typeinfo for std::exception'
C:\Projects\F1\platform\source\f1shared_base\Debug\f1error.o(.rdata$_ZTISt9e
xception+0x0):C:\MinGWStudio\MinGW\include\stlport_include\stl\_string.h:
first defined here

\mingw\lib\libstdc++.a(eh_personality.o)(.text$_ZTSSt9exception+0x0):
multiple definition of `typeinfo name for std::exception'
C:\Projects\F1\platform\source\f1shared_base\Debug\f1error.o(.rdata$_ZTSSt9e
xception+0x0):C:\MinGWStudio\MinGW\include\stlport_include\stl\_string.h:
first defined here
----------------------------------------------------------------------------
--------------------------------

Is somebody has home problem in past ?
Or can you gime me advise - where is can by problem ?

Best Regards

^ permalink raw reply	[flat|nested] 2+ messages in thread

* multiple definition of `typeinfo for std::exception'
@ 2004-02-11 10:31 Aleksei Andevis
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksei Andevis @ 2004-02-11 10:31 UTC (permalink / raw)
  To: gcc-help

Hell All again!
In my project I user STL_PORT 4.5.3 compiled under
Mingw32 3.3.1 , and mostly parts linked fine
but in one my dll I user
follows construction

class _SHARED_BASE_EXPORT MyError : public std::exception

and when I linked this DLL with stlport library tohether
linker produced follows:

----------------------------------------------------------------------------
--------------------------------
Linking...

\mingw\lib\libstdc++.a(eh_personality.o)(.data$_ZTISt9exception+0x0):
multiple definition of `typeinfo for std::exception'
C:\Projects\F1\platform\source\f1shared_base\Debug\f1error.o(.rdata$_ZTISt9e
xception+0x0):C:\MinGWStudio\MinGW\include\stlport_include\stl\_string.h:
first defined here

\mingw\lib\libstdc++.a(eh_personality.o)(.text$_ZTSSt9exception+0x0):
multiple definition of `typeinfo name for std::exception'
C:\Projects\F1\platform\source\f1shared_base\Debug\f1error.o(.rdata$_ZTSSt9e
xception+0x0):C:\MinGWStudio\MinGW\include\stlport_include\stl\_string.h:
first defined here
----------------------------------------------------------------------------
--------------------------------

Is somebody has home problem in past ?
Or can you gime me advise - where is can by problem ?

Best Regards

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-11 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-10 15:35 multiple definition of `typeinfo for std::exception' Aleksei Andevis
2004-02-11 10:31 Aleksei Andevis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).