http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #12 from Martin Lederhilger 2011-08-18
12:27:50 UTC ---
For the case with using "extern template...":
If you look at bug #40068, you can see that there was a similar problem (not
exported typeinfo to DLL) once - for normal classes. T
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #11 from Martin Lederhilger 2011-08-16
14:47:08 UTC ---
Created attachment 25024
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25024
Export table of the dll.
This is a part of i686-mingw32-objdump's output.
Contains the export
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #10 from Martin Lederhilger 2011-08-16
14:18:38 UTC ---
Created attachment 25023
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25023
Output of i686-mingw32-nm for dll.dll
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #9 from Martin Lederhilger 2011-08-16
14:17:32 UTC ---
Results for:
template
class INTERFACE A : public Base
...
Case one without "extern template": warning is still there but links fine.
Case two with "extern template": still undef
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
Martin Lederhilger changed:
What|Removed |Added
Version|4.5.2 |4.6.1
--- Comment #7 from Martin Led
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #6 from Martin Lederhilger 2011-08-11
13:40:40 UTC ---
Created attachment 24982
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24982
Makefile to build the DLL and the application.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #5 from Martin Lederhilger 2011-08-11
13:40:07 UTC ---
Created attachment 24981
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24981
main.cpp - the application
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #4 from Martin Lederhilger 2011-08-11
13:39:31 UTC ---
Created attachment 24980
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24980
Interface.h - defines macros for the dllexport/import attributes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #3 from Martin Lederhilger 2011-08-11
13:38:47 UTC ---
Created attachment 24979
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24979
A_imp.h - Implementation of the template. This file is included in A.cpp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #2 from Martin Lederhilger 2011-08-11
13:38:02 UTC ---
Created attachment 24978
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24978
A.h - Header which is used by the DLL and the application
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #1 from Martin Lederhilger 2011-08-11
13:37:15 UTC ---
Created attachment 24977
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24977
A.cpp - goes into the DLL
: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: m...@convergent-it.at
Created attachment 24976
--> http://gcc.gnu.org/bugzilla/attachment.
12 matches
Mail list logo