Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xti sample failed to build because XTI (eXtended RTTI) is not enabled #10

Open
asmwarrior opened this issue Sep 18, 2022 · 0 comments
Open

Comments

@asmwarrior
Copy link
Owner

-------------- Build: win_gcc in xti (compiler: GNU GCC Compiler)---------------

[ 20.0%] g++.exe -Wall -IF:/msys2/mingw64/lib/wx/include/msw-unicode-3.2 -IF:/msys2/mingw64/include/wx-3.2 -mthreads -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMSW__ -DHAVE_W32API_H -D_UNICODE -fmessage-length=0 -pipe  -c F:\code\cb_projects_for_wxWidgets\samples\xti\classlist.cpp -o .objs\win_gcc\classlist.o
F:\code\cb_projects_for_wxWidgets\samples\xti\classlist.cpp:27:6: error: #error This sample requires XTI (eXtended RTTI) enabled
   27 |     #error This sample requires XTI (eXtended RTTI) enabled
      |      ^~~~~
F:\code\cb_projects_for_wxWidgets\samples\xti\classlist.cpp: In member function 'bool ClassListDialog::IsToDiscard(const wxString&) const':
F:\code\cb_projects_for_wxWidgets\samples\xti\classlist.cpp:270:15: error: 'class wxClassInfo' has no member named 'GetFirstProperty'
  270 |     if (info->GetFirstProperty() != NULL || info->GetFirstHandler() != NULL)
      |               ^~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\xti\classlist.cpp:270:51: error: 'class wxClassInfo' has no member named 'GetFirstHandler'
  270 |     if (info->GetFirstProperty() != NULL || info->GetFirstHandler() != NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant