On 2014-11-07 08:13-0500 Hazen Babcock wrote: > On 11/05/2014 12:45 PM, Alan W. Irwin wrote: >> On 2014-11-05 12:01-0500 Hazen Babcock wrote: >> >>>> Also, the current log file contains the following: >>>> >>>> plplotqt.h: (96111, 51): Expression expected : ConstructPtr cptr = >>>> qMetaTypeConstructHelper<T>; >>>> plplotqt.h: (96111, 51): Initializer clause expected : >>>> ConstructPtr cptr = qMetaTypeConstructHelper<T>; >>>> plplotqt.h: (96113, 45): Expression expected : DeletePtr dptr = >>>> qMetaTypeDeleteHelper<T>; >>>> plplotqt.h: (96113, 45): Initializer clause expected : DeletePtr >>>> dptr = qMetaTypeDeleteHelper<T>; >>>> plplotqt.h: (96129, 41): Expression expected : SavePtr sptr = >>>> qMetaTypeSaveHelper<T>; >>> >>> Which log are you referring to? I'm not seeing this warning messages. >> >> It appears that smokegen generates the following log file in >> the build tree (at least on my platform): >> >> bindings/qt_gui/smoke/generator.log > > Ok, I see that file and I get the same messages. Since it works for what I > want to do, I'm just going to ignore them.
Hi Hazen: I found the source of those: irwin@raven> find /usr/include/qt4/ -type f |xargs grep -il "qMetaType.*Helper" /usr/include/qt4/QtCore/qmetatype.h /usr/include/qt4/Qt/qmetatype.h If someone conversant with C++ looked at those headers for instances of the regex pattern qMetaType.*Helper (of which there are about 30), I assume they would find some problematic C++ syntax that g++ can handle, but which makes the smoke C++ code parser choke. So this is actually probably a fairly serious issue that makes parts of Qt inaccessible to smoke bindings. It apparently does not affect us (since PLplot uses such a small subset of Qt), but nevertheless it should probably be a good idea to bring this issue to the attention of the smoke developers as well as the -I issue. 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 __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel