flex header incompatibility
Bug #1034582 reported by
Chris Hillery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Critical
|
Chris Hillery |
Bug Description
For an unknown reason, on Mountain Lion, the generated files from Flex are incompatible with the clang compiler in Xcode, resulting in a compilation failure.
Related branches
lp:~zorba-coders/zorba/bug-1034582-flexlexerh
- Paul J. Lucas: Approve
- Chris Hillery: Approve
-
Diff: 56 lines (+18/-6)2 files modifiedcmake_modules/CMakeUseFlex.cmake (+17/-5)
src/compiler/parser/copyparser.sh.cmake (+1/-1)
lp:~zorba-coders/zorba/bug-1034582-macports-flex
- David Graf (community): Approve
- Chris Hillery: Approve
-
Diff: 46 lines (+11/-5)1 file modifiedcmake_modules/CMakeUseFlex.cmake (+11/-5)
Changed in zorba: | |
milestone: | none → 2.6 |
importance: | Undecided → Critical |
assignee: | nobody → Paul J. Lucas (paul-lucas) |
Changed in zorba: | |
status: | In Progress → Confirmed |
milestone: | 2.6 → 2.7 |
status: | Confirmed → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
More specifically, the errors are:
[ 49%] Building CXX object src/CMakeFiles/ zorba_simplesto re.dir/ compiler/ parser/ xquery_ scanner. cpp.o scanner. yy.cpp: 6108:21: error: out-of-line definition of 'LexerInput' does not match any declaration in 'ZorbaFlexLexer 'size_t yyFlexLexer: :LexerInput( char* buf, size_t max_size )
^ ~~~~~~~ ~~ scanner. yy.cpp: 6135:19: error: out-of-line definition of 'LexerOutput' does not match any declaration in 'ZorbaFlexLexer' :LexerOutput( const char* buf, size_t size )
^~~ ~~~~~~~ ~2 errors generated.
xquery_
xquery_
void yyFlexLexer: