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

Linux Build Warnings #119

Open
qualand opened this issue Jul 30, 2021 · 1 comment
Open

Linux Build Warnings #119

qualand opened this issue Jul 30, 2021 · 1 comment

Comments

@qualand
Copy link
Collaborator

qualand commented Jul 30, 2021

Build wex on Linux Ubuntu 20.04.2 LTS (After Issue #117 was fixed) resulted in the follow warnings:

/home/whamilt2/Documents/spt_dev/wex/src/codeedit.cpp: In member function ‘void wxCodeEditCtrl::SetLanguage(wxCodeEditCtrl::Language)’: /home/whamilt2/Documents/spt_dev/wex/src/codeedit.cpp:306:19: warning: ‘void wxStyledTextCtrl::SetStyleBits(int)’ is eprecated: This method uses a function deprecated in the Scintilla library. [-Wdeprecated-declarations] 306 | SetStyleBits(8); | ^ In file included from /home/whamilt2/Documents/spt_dev/wex/src/../include/wex/codeedit.h:37, from /home/whamilt2/Documents/spt_dev/wex/src/codeedit.cpp:31: /whamilt2/wxWidgets-3.1.5/include/wx-3.1/wx/stc/stc.h:3349:10: note: declared here 3349 | void SetStyleBits(int bits); | ^~~~~~~~~~~~

In file included from /home/whamilt2/Documents/spt_dev/wex/src/pdf/pdfprint.cpp:61: /home/whamilt2/Documents/spt_dev/wex/src/../include/wex/pdf/pdfprint.h: In member function ‘virtual void wxPdfPreviewDCImpl::DoGetClippingBox(wxCoord*, wxCoord*, wxCoord*, wxCoord*) const’: /home/whamilt2/Documents/spt_dev/wex/src/../include/wex/pdf/pdfprint.h:747:41: warning: ‘virtual void wxDCImpl::DoGetClippingBox(wxCoord*, wxCoord*, wxCoord*, wxCoord*) const’ is deprecated [-Wdeprecated-declarations] 747 | m_dc.DoGetClippingBox(x, y, w, h); | ^ In file included from /whamilt2/wxWidgets-3.1.5/include/wx-3.1/wx/wxprec.h:12, from /home/whamilt2/Documents/spt_dev/wex/src/pdf/pdfprint.cpp:13: /whamilt2/wxWidgets-3.1.5/include/wx-3.1/wx/dc.h:468:5: note: declared here 468 | wxDEPRECATED_BUT_USED_INTERNALLY( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@fenollp
Copy link
Contributor

fenollp commented Sep 8, 2021

Again, see #121 as a working recipe to build wex on Ubuntu.
(maybe the version of wxWidgets is too new?)

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

2 participants