New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

flex 2.5.4a and g++3.3 problem


Post Reply New Thread Subscribe

 
Thread Tools
soundandy
Guest
 
Posts: n/a

Hi,

I am new to MAC OS X. Please help me with the following compiling error.

I have flex 2.5.4a and g++3.3 on my MAC OS X 10.3 machine. When I tried to compile my tool on the MAC
I got the following error:

---------------
In file included from /usr/include/FlexLexer.h:51,
from lex.yy.cc:237:
/usr/include/gcc/darwin/3.3/c++/backward/iostream.h:36: error: using
declaration `istream' introduced ambiguous type `istream'
lex.yy.cc: In member function `virtual int yyFlexLexer::yylex()':
lex.yy.cc:1245: error: cannot convert `std::istream*' to `istream*' in
assignment
lex.yy.cc:893: warning: label `find_rule' defined but not used
lex.yy.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
lex.yy.cc:1776: error: 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:1827: error: cannot convert `std::istream*' to `istream*' in
assignment
----------------

Can anyone give me help? I know that g++2.95 can be compatible with flex, but for certain reason, I can not do that.

Thanks,

-Andy
QUOTE Thanks

Post Reply New Thread Subscribe


« irc | x11 installation trouble »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Importing video problem woofboy111 Movies and Video 11 04-01-2004 05:22 AM
Safari Javascript problem babszem Web Design and Hosting 0 02-26-2004 03:21 PM
G3 Hard Drive problem joe mama Apple Desktops 1 02-18-2004 01:22 PM
g4 ibook trackpad problem chafner Apple Notebooks 3 01-30-2004 09:11 AM
Startup problem OS 10.2 and G4 450 AGP lvinay OS X - Operating System 2 09-30-2003 11:21 AM

All times are GMT -4. The time now is 09:07 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?