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.

Martin
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to