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
Posts: n/a


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,
/usr/include/gcc/darwin/3.3/c++/backward/iostream.h:36: error: using
declaration `istream' introduced ambiguous type `istream' In member function `virtual int yyFlexLexer::yylex()': error: cannot convert `std::istream*' to `istream*' in
assignment warning: label `find_rule' defined but not used In member function `void yyFlexLexer::yy_load_buffer_state()': error: cannot convert `istream*' to `std::istream*' in
assignment In member function `void
yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)': error: cannot convert `std::istream*' to `istream*' in

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.


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 Starter
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 03:19 PM.

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

Welcome to

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?