14.10.2012 18:40, Hanno Böck пишет: > Hello, > > With latest dosemu git code, I get a compile error. > > > > gcc -c -MP -MMD -I../../../src/include > -I../../../src/plugin/include -DYYPURE -I. -Wall -Wstrict-prototypes > -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -O2 > -fomit-frame-pointer -o lex.yy.o lex.yy.c lex.yy.c:2056:11: error: > conflicting types for ‘yyget_leng’ In file included from lexer.l:58:0: > lexer.h:39:12: note: previous declaration of ‘yyget_leng’ was here > lex.yy.c:5027:11: error: conflicting types for ‘yyget_leng’ In file > included from lexer.l:58:0: lexer.h:39:12: note: previous declaration > of ‘yyget_leng’ was here > > > It seems that the declaration of yyget_leng is doubled. I can fix the > error for me with the attached patch, though I don't know what exactly > causes this and if it has side effects. Can anyone look into this? I think your patch is good: most likely the prototypes were added for some old flex which didn't generate them - to avoid the compilation warnings. This is not a good thing to do. I simply removed them all and commited the change.
------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Dosemu-devel mailing list Dosemu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dosemu-devel