Opened 3 years ago

Closed 3 years ago

#738 closed defect (fixed)

Compilation fails with bison 3/gcc 4.8

Reported by: dmisev Owned by: vliaukevich
Priority: major Milestone: 9.0.x
Component: qlparser Version: 9.0.0
Keywords: Cc: semmlerg@…
Complexity: Medium

Description

Trying to compile the latest git (latest commit:
dfd1bc5dbb759de0acfb23dc269fb50a4ac847a7) on Ubuntu 14.04 fails.

Compilation error:

oql.yy: In function 'int yyparse()':
oql.yy:1048:8: error: 'mflag' was not declared in this scope
    if (mflag == MF_IN_CONTEXT)
        ^
oql.yy:2633:8: error: 'mflag' was not declared in this scope
    if (mflag == MF_IN_CONTEXT)
        ^
oql.yy:2640:4: error: 'mflag' was not declared in this scope
    mflag = MF_IN_CONTEXT;
    ^
oql.yy:2666:4: error: 'mflag' was not declared in this scope
    mflag = MF_NO_CONTEXT;
    ^
oql.yy:2707:6: error: 'mflag' was not declared in this scope
    mflag = MF_NO_CONTEXT;
    ^
oql.yy:2733:4: error: 'mflag' was not declared in this scope
    mflag = MF_NO_CONTEXT;
    ^

gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

bison --version
bison (GNU Bison) 3.0.2

flex --version
flex 2.5.35

Change History (1)

comment:1 Changed 3 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.