Skip to content

Conversation

@strongHunter
Copy link

Full message:

warning: ‘virtual bool antlr4::tree::ParseTree::operator==(const antlr4::tree::ParseTree&) const’ was hidden [-Woverloaded-virtual=]
 49 |     virtual bool operator == (const ParseTree &other) const;
    |                  ^~~~~~~~
antlr4-cpp-runtime/runtime/src/RuleContext.h:132:10: note:   by ‘bool antlr4::RuleContext::operator==(const antlr4::RuleContext&)’
132 |     bool operator == (const RuleContext &other) { return this == &other; } // Simple address comparison.
	    |          ^~~~~~~~

…const antlr4::tree::ParseTree&) const’ was hidden [-Woverloaded-virtual=]

Full message:
	warning: ‘virtual bool antlr4::tree::ParseTree::operator==(const antlr4::tree::ParseTree&) const’ was hidden [-Woverloaded-virtual=]
	 49 |     virtual bool operator == (const ParseTree &other) const;
	    |                  ^~~~~~~~
	antlr4-cpp-runtime/runtime/src/RuleContext.h:132:10: note:   by ‘bool antlr4::RuleContext::operator==(const antlr4::RuleContext&)’
	132 |     bool operator == (const RuleContext &other) { return this == &other; } // Simple address comparison.
	    |          ^~~~~~~~
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