--- src/sdk/wxpropgrid/src/propgrid.cpp.orig 2016-01-23 16:43:00 UTC +++ src/sdk/wxpropgrid/src/propgrid.cpp @@ -677,7 +677,13 @@ void wxPGProperty::Init() } -void wxPGProperty::Init( const wxString& label, const wxString& name ) +void +#if defined(__has_attribute) +# if __has_attribute(optnone) +__attribute((optnone)) +# endif +#endif +wxPGProperty::Init( const wxString& label, const wxString& name ) { if ( &label != ((wxString*)NULL) ) m_label = label;