[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dev-C++
From: |
Buday Gergely |
Subject: |
Dev-C++ |
Date: |
Tue, 16 Dec 2003 17:06:02 +0100 (MET) |
Hi,
I try to use GNUWin32 flex++ 2.5.4a with Bloodshed Dev-C++ 4.9.8.5.
Here is my flex file:
===================================
%{
#include <stdio.h>
%}
%%
zap { printf("zap me!\n") ; }
. {}
%%
=======================================
Now g++ complains a lot:
g++.exe "C:\src\nativesrc\project\all\asr\text2phoneme\lex.yy.cc" -o
"C:\src\nativesrc\project\all\asr\text2phoneme\lex.yy.exe"
-Wno-deprecated -I"C:\Dev-Cpp\include\c++"
-I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward"
-I"C:\Dev-Cpp\include" -I"C:\flex\include" -L"C:\Dev-Cpp\lib"
-L"C:\flex\lib"
In file included from C:/flex/include/FlexLexer.h:47,
from
C:/src/nativesrc/project/all/asr/text2phoneme/lex.yy.cc:235:
C:/Dev-Cpp/include/c++/backward/iostream.h:36: using declaration `istream'
introduced ambiguous type `istream'
lex.yy.cc: In member function `virtual int yyFlexLexer::yylex()':
lex.yy.cc:579: cannot convert `std::istream*' to `istream*' in assignment
lex.yy.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
lex.yy.cc:1112: cannot convert `istream*' to `std::istream*' in assignment
lex.yy.cc: In member function `void
yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
lex.yy.cc:1163: cannot convert `std::istream*' to `istream*' in assignment
Any hints what should be done?
- Gergely
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Dev-C++,
Buday Gergely <=