Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.1
-
None
-
0f1b8fd2dcd2db698095a54ca9beff7e27cf1ceb
Description
I get the following error when compilling qparser exemple from qlalr code source:
http://code.qt.io/cgit/qt/qlalr.git/tree/examples/qparser
error: ‘isatty’ was not declared in this scope
calc_lex.cpp: In function ‘int yy_get_next_buffer()’: calc_lex.cpp:1100:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFF ^ calc_lex.cpp: In function ‘void calc_init_buffer(YY_BUFFER_ST ATE, FILE*)’: calc_lex.cpp:1422:61: error: ‘isatty’ was not declared in thi s scope yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; ^ calc_lex.cpp: At global scope: calc_lex.cpp:1176:17: warning: ‘void yyunput(int, char*)’ def ined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^ Makefile:707 : la recette pour la cible « .obj/calc_lex.o » a échouée
Attachments
For Gerrit Dashboard: QTBUG-64771 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
212636,2 | work around flex bug | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |