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:
@@ -37,7 +37,7 @@ enum
|
||||
|
||||
typedef wxWindow wxNotebookPage; // so far, any window can be a page
|
||||
|
||||
extern WXDLLEXPORT_DATA(const wxChar*) wxNotebookNameStr;
|
||||
extern WXDLLEXPORT_DATA(const wxChar) wxNotebookNameStr[];
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
#define wxNOTEBOOK_NAME wxNotebookNameStr
|
||||
|
Reference in New Issue
Block a user