[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LilyPond 1.5.1 released
From: |
Jan Nieuwenhuizen |
Subject: |
Re: LilyPond 1.5.1 released |
Date: |
08 Jul 2001 19:02:05 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7 |
Michael Vanier <address@hidden> writes:
> I get this error compiling lilypond 1.5.1 on a Red Hat Linux 6.1 machine
> using gcc/g++ 3.0:
Please see INSTALL.txt for a comment on gcc-3.0. In short: flex and
g++-3.0 don't play together yet, use this patch (meant to be included
in the distribution for weeks now -- fixed that)
--- ./lily/out-gcc-3.0/lexer.cc~ Tue Jun 26 13:12:26 2001
+++ ./lily/out-gcc-3.0/lexer.cc Tue Jun 26 13:11:56 2001
@@ -21,7 +21,7 @@
#ifdef __cplusplus
#include <stdlib.h>
-class istream;
+#include <iostream.h>
#include <unistd.h>
/* Use prototypes in function declarations. */
> rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o"
> c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out
> -I.././lib/include -I../lib/./out -I.././flower/include -I../flower/./out
> -I../flower/include -O2 -finline-functions -g -O2 -finline-functions -g
> -DSTRING_UTILS_INLINED -I/home/mvanier/local/Linux/lang/maybe-useful/include
> -Wall -W -Wmissing-prototypes -Wconversion out/lexer.cc -o out/lexer.o
> In file included from /usr/include/FlexLexer.h:47,
> from out/lexer.cc:241:
> /home/mvanier/local/Linux/include/g++-v3/backward/iostream.h:36: using
> directive `istream' introduced ambiguous type `istream'
Unfortunately, I haven't read the new C++ specs and I don't know who's
at fault here (ie: where to send a bug report), g++-3.0 or flex.
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org