[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug with Bison 1.31 and C++
From: |
Adam Tee |
Subject: |
Bug with Bison 1.31 and C++ |
Date: |
Thu, 17 Jan 2002 09:01:20 +0000 |
I've found a bug when trying to compile a bison generated parser using
g++3.0.3.
The error message I get is as follows
/usr/share/bison/bison.simple: In function `int lyparse()':
/usr/share/bison/bison.simple:450: `size_t' undeclared in namespace `std'
/usr/share/bison/bison.simple:450: parse error before `=' token
/usr/share/bison/bison.simple:495: `yystacksize' undeclared (first use this
function)
/usr/share/bison/bison.simple:495: (Each undeclared identifier is reported
only
once for each function it appears in.)
/usr/share/bison/bison.simple:498: `size_t' undeclared in namespace `std'
/usr/share/bison/bison.simple:498: parse error before `=' token
/usr/share/bison/bison.simple:543: `size_t' undeclared in namespace `std'
/usr/share/bison/bison.simple:543: parse error before `;' token
/usr/share/bison/bison.simple:543: `yysize' undeclared (first use this
function)
/usr/share/bison/bison.simple:544: `size_t' undeclared in namespace `std'
/usr/share/bison/bison.simple:544: parse error before `;' token
/usr/share/bison/bison.simple:544: `size_t' undeclared in namespace `std'
/usr/share/bison/bison.simple:544: parse error before `sizeof'
This shows that there are still some problems with C++ namespaces.
Adam
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug with Bison 1.31 and C++,
Adam Tee <=