How to avoding compiling unreferenced code into .o target file

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:

在 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