Comments (7)
Could you check to see if the commit I've pushed fixes you problem, please?
from xchm.
I can't reproduce it at all on my Arch Linux - even by using all of your CFLAGS
, CXXFLAGS
, LDFLAGS
, etc.
I also have wxWidgets 3.2.1 here.
If the commit above does not fix it, would it be possible for you to try on an up-to-date Arch Linux and reproduce it there?
from xchm.
Nevermind, I've figured it out. Your wxWidgets, although appearing to be version 3.2.1, has enabled backwards compatibility with 2.8, and that's why it's hitting this overload (in /usr/include/wx-3.2/wx/tbarbase.h:503):
498 #if WXWIN_COMPATIBILITY_2_8
499 // the old versions of the various methods kept for compatibility
500 // don't use in the new code!
501 // --------------------------------------------------------------
502 wxDEPRECATED_INLINE(
503 wxToolBarToolBase *AddTool(int toolid,
504 const wxBitmap& bitmap,
505 const wxBitmap& bmpDisabled,
506 bool toggle = false,
507 wxObject *clientData = NULL,
508 const wxString& shortHelpString = wxEmptyString,
509 const wxString& longHelpString = wxEmptyString)
510 ,
511 return AddTool(toolid, wxEmptyString,
512 bitmap, bmpDisabled,
513 toggle ? wxITEM_CHECK : wxITEM_NORMAL,
514 shortHelpString, longHelpString, clientData);
515 )
The cleanest solution, IMHO, is for you to build the Mageia wxWidgets package in a way that removes backwards compatibility with the (seriously old) 2.8 version, and then your build problem goes away.
(Also, the previous patch will not fix this issue, so no need to check if the problem's now solved with it - it isn't).
from xchm.
You'll also note that in the current stable documentation for wxWidgets, the offending overload is not listed at all: https://docs.wxwidgets.org/3.2/classwx_tool_bar.html#a5987506e585f03c294c55799beca934a, so it is not meant to be used (or even taken into consideration for overload purposes) for builds of new software.
from xchm.
I've just released 1.35, it should build even with your current wxWidgets.
from xchm.
Confirmed it is fixed with new 1.35 release, thank you.
from xchm.
Confirmed it is fixed with new 1.35 release, thank you.
Alright, no problem. Thanks for reporting.
from xchm.
Related Issues (20)
- Greek language code HOT 1
- Is it use CEF(Chromium Embedded Framework) instead of IE on Windows? HOT 1
- Failed to compile on Windows HOT 2
- Add option to change background color HOT 2
- Add Keywords entry in xchm.desktop HOT 1
- Typo: occurences -> occurrences HOT 1
- xCHM donβt show some pages HOT 1
- Please keep settings in XDG_CONFIG_HOME/xchm/ directory HOT 3
- Crash on opening HOT 33
- PO files generation HOT 1
- xchm Search in the Left Panel contents section HOT 8
- Compiling error with chm_lib.c HOT 1
- The installation is not working HOT 2
- specify topic on command line? HOT 5
- configure: error: Can't find/use -lchm. Please install CHMLIB first.
- configure: error: Can't find/use -lchm. Please install CHMLIB first. HOT 5
- When moving to next page, show the top of the page HOT 2
- Add view option to hide tools HOT 2
- Crash when searching specific file, or no search results. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xchm.