Hi On Mon, Aug 29, 2011 at 9:14 AM, Martin Dobias <[email protected]> wrote: > Hi Marco > > On Mon, Aug 29, 2011 at 8:39 AM, Marco Hugentobler > <[email protected]> wrote: >> Hi all >> >> Seems it depends also on the bison version. >> I'm getting some errors with bison 2.3. With bison 2.4.1, it works nicely. >> >> cd /opt/qgisms/src/Quantum-GIS/build/src/core && /usr/bin/bison - >> o/opt/qgisms/src/Quantum-GIS/build/src/core/qgsexpressionparser.cpp -d -v -t >> /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy >> /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy:54.14-19: syntax >> error, unexpected string, expecting = >> >> (bison 2.3 understands only deprecated syntax %name-prefix = "exp_" ) >> >> cd /opt/qgisms/src/Quantum-GIS/build/src/core && /usr/bin/bison - >> o/opt/qgisms/src/Quantum-GIS/build/src/core/qgsexpressionparser.cpp -d -v -t >> /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy >> /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy:120.28-33: syntax >> error, unexpected type, expecting string or identifier >> >> Seems 2.3 does not support the <> notation. Not sure what to do here... > > Looking at the version history of bison, the 2.4.x releases started in > 2008 while the 2.3 release went out back in 2006. Maybe we could drop > support for 2.3 ? Apparently even debian stable ships with 2.4.x. >
FYI I am using 2.4: C:\dev\cpp>bison --version bison (GNU Bison) 2.4.1 Written by Robert Corbett and Richard Stallman. Copyright (C) 2008 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 tried looking for bison errors but didn't see any (after doing a clean build). Regards Tim > Martin > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) ============================================== Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net ============================================== _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
