Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix three warnings (Wunused-parameter, Wsign-compare, Wdeprecated-declarations) and a typo. #4488

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

rturrado
Copy link

@rturrado rturrado commented Dec 11, 2023

I've just commented out the unused parameter as I've seen you do in other parts of the code, with /*variableName*/.

Signed-off-by: Roberto Turrado Camblor <rturrado@gmail.com>
UnbufferedCharStream.cpp: fixed warning: comparison of integers of different signs: 'value_type' (aka 'char32_t') and 'int_type' (aka 'int') [-Wsign-compare].
Vocabulary.cpp: fixed  warning: ‘antlr4::dfa::Vocabulary::EMPTY_VOCABULARY’ is deprecated: Use the default constructor of Vocabulary instead. [-Wdeprecated-declarations].

Signed-off-by: rturrado <68099809+rturrado@users.noreply.github.com>
@rturrado rturrado changed the title Fix warning: unused parameter 'context' [-Wunused-parameter]. Fix three warnings (Wunused-parameter, Wsign-compare, Wdeprecated-declarations) and a typo. Dec 11, 2023
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.

None yet

1 participant