Skip to content

Conversation

@hhoffstaette
Copy link
Contributor

Passing a value to bison via -D with or without quotes is deprecated:

bison -y -d -v --file-prefix=rc -Dapi.prefix=rc --defines=rcparser.hh rcfile.yy;  \
	   mv rc.tab.c rcparser.cc
<command line>:5: warning: %define variable 'api.prefix' requires '{...}' values [-Wdeprecated]

Fix this by correctly quoting the values with curly braces.

Passing a value to bison via -D with or without quotes is deprecated:

bison -y -d -v --file-prefix=rc -Dapi.prefix=rc --defines=rcparser.hh rcfile.yy;  \
	   mv rc.tab.c rcparser.cc
<command line>:5: warning: %define variable 'api.prefix' requires '{...}' values [-Wdeprecated]

Fix this by correctly quoting the values with curly braces.

Signed-off-by: Holger Hoffstätte <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant