On 2015-09-09 14:30-0700 Alan W. Irwin wrote: > Hi Phil: > > I just discovered that commit 9dc7393d = "Rewrite of the wxWidgets > text processing methods" does not build on Debian oldstable with > wxwidgets version 2.8.12.1. The reason is that version of wxwidgets > does not contain wx/ustring.h, i.e., your rewrite depends on > wxwidgets-3.0.0 or later. That is fine with me since I generally > don't think we should go out of our way to support old versions of > software libraries (and in any case I will likely be moving to Debian > stable with wxwidgets version 3.0.2 in the near future). > > Anyhow, I am preceding on the assumption that the minimum version of > wxwidgets we support is now 3.0.0 (see my recent commit b4245b3 to > that effect). > > Please commit a change to README.release saying we only support > wxwidgets-3.0.0 or later so this change does not give a nasty surprise > to users who still are attempting to use wxwidgets-2.x.
To Phil, Arjen, and Greg: @Phil: There are some build issues with this commit on Linux that I found once I switched to epa_built wxwidgets-3.0.2. Here are the relevant error messages for the build. Note the location /home/wine/newstart/build_script/install-linux is the install prefix for epa_built software such as wxwidgets since I use my wine user account both for general wine testing and also epa_building on Linux. /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp: In member function ‘void wxPLDevice::DrawTextLine(PLUNICODE*, int, wxCoord, wxCoord, PLFLT, PLFLT, bool, PLINT&, PLFLT&, PLFLT&, bool&, PLUNICODE&, wxCoord&, wxCoord&, wxCoord&)’: /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:984:47: error: call of overloaded ‘wxUString(PLUNICODE&)’ is ambiguous /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:984:47: note: candidates are: In file included from /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:48:0: /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:63:5: note: wxUString::wxUString(wxUniChar) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:62:5: note: wxUString::wxUString(wxChar32) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:61:5: note: wxUString::wxUString(wxChar16) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:60:5: note: wxUString::wxUString(char) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:58:5: note: wxUString::wxUString(const wxString&) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:57:5: note: wxUString::wxUString(const wxCStrData*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:57:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const wxCStrData*’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:54:5: note: wxUString::wxUString(const wxChar16*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:54:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const wxChar16* {aka const short unsigned int*}’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:49:5: note: wxUString::wxUString(const char*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:49:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const char*’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:46:5: note: wxUString::wxUString(const wxChar32*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:46:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const wxChar32* {aka const wchar_t*}’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:41:47: note: wxUString::wxUString(const wxUString&) /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:1043:43: error: call of overloaded ‘wxUString(PLUNICODE&)’ is ambiguous /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:1043:43: note: candidates are: In file included from /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:48:0: /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:63:5: note: wxUString::wxUString(wxUniChar) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:62:5: note: wxUString::wxUString(wxChar32) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:61:5: note: wxUString::wxUString(wxChar16) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:60:5: note: wxUString::wxUString(char) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:58:5: note: wxUString::wxUString(const wxString&) /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:57:5: note: wxUString::wxUString(const wxCStrData*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:57:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const wxCStrData*’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:54:5: note: wxUString::wxUString(const wxChar16*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:54:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const wxChar16* {aka const short unsigned int*}’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:49:5: note: wxUString::wxUString(const char*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:49:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const char*’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:46:5: note: wxUString::wxUString(const wxChar32*) <near match> /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:46:5: note: no known conversion for argument 1 from ‘PLUNICODE {aka unsigned int}’ to ‘const wxChar32* {aka const wchar_t*}’ /home/wine/newstart/build_script/install-linux/include/wx-3.0/wx/ustring.h:41:47: note: wxUString::wxUString(const wxUString&) /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp: In member function ‘void wxPLDevice::DrawTextSection(wxString, wxCoord, wxCoord, PLFLT, PLFLT, bool, bool, PLUNICODE, wxCoord&, wxCoord&, wxCoord&)’: /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:1088:115: error: taking address of temporary [-fpermissive] make[2]: *** [drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.o] Error 1 make[1]: *** [drivers/CMakeFiles/wxwidgets.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... @Arjen and Greg: Note, I am pretty sure from the above results this issue will show up for your comprehensive testing on Cygwin and MinGW-w64/MSYS2. It also obviously blocks me from doing further wxwidgets testing until it is fixed. @Phil: Do you confirm the above build issues on one of the gcc platforms (Cygwin, MinGW-w64/MSYS2, and/or Linux) accessible to you? I assume some casts will take care of the wxUString overloading issues, but I don't have a clue how to fix the last build error "error: taking address of temporary [-fpermissive]" so I leave all of this to you to figure out. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel