|
From: | Yves de Champlain |
Subject: | yywrap compilation issue |
Date: | Thu, 31 Jan 2008 12:10:22 -0500 |
HiI'm trying to build lilypond for MacOS X 10.5 and come across this error :
rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/ lexer.o" g++ -c -Woverloaded-virtual -DHAVE_CONFIG_H -DNDEBUG -I./ include -I./out -I../flower/include -I../flower/./out -I../flower/ include -O2 -finline-functions -pipe -I/opt/local/include - D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include - I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/ include/freetype2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/ glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion -o out/ lexer.o out/lexer.cc out/lexer.cc:389: error: no ‘int yyFlexLexer::yywrap()’ member function declared in class ‘yyFlexLexer’
Here is line 389 from lexer.cc : int yyFlexLexer::yywrap() { return 1; } Here is the virtual declaration from FlexerLexer.h : virtual int yywrap(); Thanks for any advice yves
[Prev in Thread] | Current Thread | [Next in Thread] |