We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Got this warning from gcc 13 for a C++ lexer when all warnings are enabled with -Wall
error: ‘virtual int yyFlexLexer::yylex()’ was hidden [-Werror=overloaded-virtual=]
Caused by the yylex overload in my lexer derived from yyFlexLexer. I fixed it by making the inherited virtual function private
private: using yyFlexLexer::yylex;
More information
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 https://www.ibm.com/docs/en/zos/3.1.0?topic=udcmco-overloading-member-functions-from-base-derived-classes-c-only
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Got this warning from gcc 13 for a C++ lexer when all warnings are enabled with -Wall
Caused by the yylex overload in my lexer derived from yyFlexLexer. I fixed it by making the inherited virtual function private
More information
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423
https://www.ibm.com/docs/en/zos/3.1.0?topic=udcmco-overloading-member-functions-from-base-derived-classes-c-only
The text was updated successfully, but these errors were encountered: