This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/43601] Enormous increase in DLL object files size in 4.5



------- Comment #7 from vz-gcc at zeitlins dot org  2010-03-31 22:36 -------
(In reply to comment #6)
> My view this is a bug in how wxWidgets uses (abuses) dllexport and wanting not
> to export inline functions also.

Andrew, could you please provide a reasonable alternative to what we do?

Also, once again, I'm only aware of this problem because of a bug report of a
wxWidgets user but I really don't think there is anything specific to wx here.
To the best of my knowledge absolutely nobody is masochistic enough to export
every non-inline function in a class separately, all C++ projects supporting
Win32 DLL I ever saw used dllexport declaration with the class itself.

So, once again, if this is our bug, would you be so kind as to propose a
solution? I'm sure many other C++ library developers would be interested in
hearing it as well.

TIA!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]