[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Class scanner using std:: namespace
From: |
Peter Gostelow |
Subject: |
Class scanner using std:: namespace |
Date: |
Sat, 13 Sep 2003 23:17:00 +0000 |
User-agent: |
KMail/1.5 |
Hi,
After upgrading from gcc 2.95.3 to 3.2.2, g++ complains about ambiguous
istream type. I tried changing the header to use iostream instead of
iostream.h and include 'using namespace std;' plus a bunch of crazy things.
Nothing works.
>From the g++ mailing lists using the std:: namespace has been around since
1997, yet flex doesn't support it. I believe there are flex development
versions later than 2.5.4, but haven't found their source.
What is the proper way to generate a flex 2.5.4 class scanner (using
namespace), or where can I get a version that works with std:: namespace?
Thanks in advance,
Peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Class scanner using std:: namespace,
Peter Gostelow <=