10000 stream_processor: bison warnings · Issue #4427 · fluent/fluent-bit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
stream_processor: bison warnings #4427
Closed as not planned
Closed as not planned
@LionelCons

Description

@LionelCons

When compiling Fluent Bit (master branch) on CentOS 8 I see:

[ 37%] [BISON][parser] Building parser with bison 3.0.4
sql.y:1.1-13: warning: deprecated directive, use ‘%name-prefix’ [-Wdeprecated]
 %name-prefix="flb_sp_"  // replace with %define api.prefix {flb_sp_}
 ^^^^^^^^^^^^^
sql.y: warning: 7 shift/reduce conflicts [-Wconflicts-sr]
sql.y: warning: 6 reduce/reduce conflicts [-Wconflicts-rr]

The first warning seems easy to fix by changing the first line in src/stream_processor/parser/sql.y from

%name-prefix="flb_sp_"  // replace with %define api.prefix {flb_sp_}

to

%name-prefix "flb_sp_"  // replace with %define api.prefix {flb_sp_}

The conflicts would require more investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0