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.
Just for the records, apart from the ctest changes, I also made changes to the c/c++ example 20. The variable "gin" was declared at the beginning of a function, but only initialized within a if clause, but used for the return statement. This could have unwanted behaviour, so I moved the returned statement into the if clause and returned zero, otherwise. Regards, Werner Alan W. Irwin wrote: > Hi Werner: > > The error message is > > /usr/bin/c++ -Dwxwidgets_EXPORTS -fPIC > -I/home/software/plplot_cvs/HEAD/plplot_cmake/include > -I/home/software/plplot_cvs/HEAD/build_dir > -I/home/software/plplot_cvs/HEAD/build_dir/include -DHAVE_CONFIG_H > -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I/usr/include/freetype2 > -I/usr/include -o drivers/CMakeFiles/wxwidgets.dir/wxwidgets.o -c > /home/software/plplot_cvs/HEAD/plplot_cmake/drivers/wxwidgets.cpp > /home/software/plplot_cvs/HEAD/plplot_cmake/drivers/wxwidgets.cpp: In > function bool SavePlot(PLStream*, char*, char*, int, int): > /home/software/plplot_cvs/HEAD/plplot_cmake/drivers/wxwidgets.cpp:1204: > error: conversion from const char [31] to const wxString is ambiguous > /usr/include/wx-2.6/wx/string.h:642: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.6/wx/string.h:632: note: > wxString::wxString(int) <near match> > > [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. > > 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 -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------- 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
