hello,

I try to build umbrello (uml.sf.net), but I get these errors when run the command "make".

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw//include -I/sw/include/ -I/usr/X11R6/include -DQT_THREAD_SUPPORT -O2 -fno-exceptions -fno-check-new -c -o tokenizer.o `test -f 'tokenizer.cc' || echo './'`tokenizer.cc
In file included from /sw/include/FlexLexer.h:47,
from tokenizer.cc:240:
/usr/include/gcc/darwin/3.1/g++-v3/backward/iostream.h:36: using declaration `
istream' introduced ambiguous type `istream'
tokenizer.cc: In member function `virtual int yyFlexLexer::yylex()':
tokenizer.cc:1311: cannot convert `std::istream*' to `istream*' in assignment
tokenizer.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
tokenizer.cc:1842: cannot convert `istream*' to `std::istream*' in assignment
tokenizer.cc: In member function `void
yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
tokenizer.cc:1893: cannot convert `std::istream*' to `istream*' in assignment
make[3]: *** [tokenizer.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I think this is a compiler problem (I'm using gcc 3.1, apple dev tools dec), but am a I'm not sure (I'm a newbie). Has anyone a idea?
(I added "using namespace std;" to /usr/include/FlexLexer.h and tokenizer.cc)


cheers mo
--
Moritz Zumb�hl
M�hlebergstr. 81a
8910 Affoltern a/A
Switzerland
[EMAIL PROTECTED]

"source-codes sind wie spielkarten. jeder schaut dem anderen gerne
in die spielhand, aber niemand l�sst sich gerne in die karten schauen!"



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to