[wx-dev] inline virtual functions problems on the iphone ....

Stefan Csomor csomor at advancedconcepts.ch
Thu Jul 17 01:32:22 PDT 2008


sorry, forgot to add : this is a wxUniversal build and the problematic
functions in my situation are things like these eg in wx/univ/control.h

    virtual wxWindow *GetInputWindow() const
    { 
        return (wxWindow*)this;
    }


Thanks,

Stefan



On 17.07.08 10:26, "Stefan Csomor" <csomor at advancedconcepts.ch> wrote:

> Hi
> 
> I¹m running into problems with virtual inline functions from wx on the iphone,
> xcode is using gcc for an arm6. I can only build static libraries. Now the
> thunks for the virtual functions that are defined inline get lost somewhere in
> the process. I¹ve tried to fix it by removing all symbol hiding flags from the
> compilation, but this a) didn¹t help and b) Apple is pushing forward to use
> ­fvisibility-inlines-hidden everywhere.
> 
> I¹ve got a minimal build running (with a button, the wxGraphicsContext sample
> page with an animated color wheel by gestures :-) by taking the two
> problematic methods out of line, but I¹d like to get things Œjust working...¹
> 
> It may well be a problem with the arm6 backend, as the same problems does not
> arrive if I compile just for the iphone simulator ie i386 ...
> 
> is there perhaps a combination of flags which I could use to force these
> function bodies into out-of-line linkable elements ?
> 
> Thanks for any insights
> 
> Stefan Csomor
>  
> 
> _______________________________________________
> wx-dev mailing list
> wx-dev at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-dev

-- 

Advanced Concepts AG
Software-Engineering
Heldweg 10   
CH-8475 Ossingen
Switzerland

phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch






More information about the wx-dev mailing list