This is the mail archive of the gcc-help@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]

Re: How to avoding compiling unreferenced code into .o target file


Im sorry I can't reproduce such small project(I tried, its ok).
But the problem does really exists in my wxWidgets project.
class wxWindow drived from wxWindowBase, which has a
virtual inline function IsShown, it can't be linked into
the client dynamic of wxWidgets.
refer to: https://github.com/wxWidgets/wxWidgets/blob/master/include/wx/window.h
thanks

在 2017/8/31 下午5:37, Andrew Haley 写道:
On 31/08/17 10:31, kipade wrote:
Any hints will be very very appreciated.
A small example of the problem would help.




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