Move constant strings to .rodata/.data.rel.ro ELF segment from .data by making them really const.
If any more exotic toolchain decides to not export these strings into the core library anymore, let me know. Try to compile the notebook sample, for example. TODO: Move strings not meant for wxCore out of wxCore to the appropriate library. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_UNIV_DIALOG_H_
|
||||
#define _WX_UNIV_DIALOG_H_
|
||||
|
||||
extern WXDLLEXPORT_DATA(const wxChar*) wxDialogNameStr;
|
||||
extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[];
|
||||
class WXDLLEXPORT wxWindowDisabler;
|
||||
class WXDLLEXPORT wxEventLoop;
|
||||
|
||||
|
Reference in New Issue
Block a user