Re: v_size in lexer.cc

2013-11-12 Thread Keith OHara
Mike Solomon mike at mikesolomon.org writes:

 out/lexer.cc:32:25: error: prototype for
 'size_t yyFlexLexer::LexerInput(char*, size_t)'
 does not match any in class 'yyFlexLexer'
 out/lexer.cc:6460:8: note: in expansion of macro 'yyFlexLexer'
  size_t yyFlexLexer::LexerInput( char* buf, size_t max_size )
^
 /usr/local/opt/flex/include/FlexLexer.h:133:14: candidate is: 
   virtual int LexerInput( char* buf, int max_size );

 Could be a versioning problem with Flex?

Other groups have found this problem.  
Could you see if their solutions work for you, and might be applied
by LilyPond?  The first hit is :
http://bugs.launchpad.net/zorba/+bug/1034582


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: v_size in lexer.cc

2013-11-12 Thread Mike Solomon
On Nov 13, 2013, at 12:11 AM, Keith OHara k-ohara5...@oco.net wrote:

 Mike Solomon mike at mikesolomon.org writes:
 
 out/lexer.cc:32:25: error: prototype for
 'size_t yyFlexLexer::LexerInput(char*, size_t)'
 does not match any in class 'yyFlexLexer'
 out/lexer.cc:6460:8: note: in expansion of macro 'yyFlexLexer'
 size_t yyFlexLexer::LexerInput( char* buf, size_t max_size )
^
 /usr/local/opt/flex/include/FlexLexer.h:133:14: candidate is: 
  virtual int LexerInput( char* buf, int max_size );
 
 Could be a versioning problem with Flex?
 
 Other groups have found this problem.  
 Could you see if their solutions work for you, and might be applied
 by LilyPond?  The first hit is :
 http://bugs.launchpad.net/zorba/+bug/1034582
 

Works fine - I just have to build flex from scratch and use that. Many thanks!

Cheers,
~Mike
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel