On 2006-12-02 23:33+0100 Werner Smekal wrote:

> Hi Alan,
>
> thanks for the bug report - I cvsed a fix, but don't know if it really fixes 
> the bug. If not I will take a closer look in my Linux box.

With your latest bug fix the error message is slightly different but still
an error:

/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/wxwidgets.cpp:1202:
error: call of overloaded wxString(const char [31]) is ambiguous
/usr/include/wx-2.6/wx/string.h:670: note: candidates are:
wxString::wxString(const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:642: note:
wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:640: note:
wxString::wxString(const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:632: note:
wxString::wxString(int) <near match>

This is with

[EMAIL PROTECTED]> c++ --version
c++ (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I am using libwxgtk2.6-dev version 2.6.1.2ubuntu2

In contrast to the above results for my Ubuntu dapper box,
there is no problem on my Debian stable platform where I have built and
use wxGTK-2.6.3.tar.gz.  On that box I compile with

[EMAIL PROTECTED]> c++ --version
c++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

In sum, the latest wxwidgets.cpp will not compile for version 2.6.1 of
wxwidgets on Ubuntu for g++ version 4.0.3, but apparently it compiles fine
for version 2.6.3 of wxwidgets for g++ version 3.3.5.

My guess is the compile error has nothing to do with wxwidgets version and
everything to do with the 4.0.3 compiler refusing to make choices when there
is the slightest degree of ambiguity.

I have checked and version 2.6.3 of wxwidget has the above wxString
choices (and more).

I hope this additional knowledge and access to your Linux box
helps you figure out which overloaded version of wxString you want.

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); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to