Opened 11 years ago

Closed 11 years ago

#738 closed defect (fixed)

Compilation fails with bison 3/gcc 4.8

Reported by: Dimitar Misev Owned by: Veranika Liaukevich
Priority: major Milestone: 9.0.x
Component: qlparser Version: 9.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 by Dimitar Misev, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.