How to avoding compiling unreferenced code into .o target file

kipade kipade@163.com
Mon Sep 4 02:45:00 GMT 2017


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.
>




More information about the Gcc-help mailing list