Skip to content

Fix spammy -Winconsistent-override in HHVM#9754

Open
mszabo-wikia wants to merge 1 commit into
facebook:masterfrom
mszabo-wikia:fix-noisy-warnings
Open

Fix spammy -Winconsistent-override in HHVM#9754
mszabo-wikia wants to merge 1 commit into
facebook:masterfrom
mszabo-wikia:fix-noisy-warnings

Conversation

@mszabo-wikia
Copy link
Copy Markdown
Contributor

Newer LLVM introduces -Winconsistent-override which is quite noisy for a few frequently-included headers in HHVM. Fix occurrences.

@meta-cla meta-cla Bot added the CLA Signed label Mar 30, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 30, 2026

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D98724676. (Because this pull request was imported automatically, there will not be any future comments.)

@Wilfred
Copy link
Copy Markdown
Contributor

Wilfred commented Apr 23, 2026

FWIW this fails to build:

fbcode/hphp/runtime/ext/asio/ext_asio.cpp:174:59: error: 'override' specifier is not allowed outside a class definition
  174 | std::vector<std::string> AsioExtension::hackFiles() const override {
      |                                                           ^~~~~~~~
1 error generated.

Newer LLVM introduces `-Winconsistent-override` which is quite noisy
for a few frequently-included headers in HHVM. Fix occurrences.
@facebook-github-tools
Copy link
Copy Markdown

@mszabo-wikia has updated the pull request. You must reimport the pull request before landing.

@mszabo-wikia
Copy link
Copy Markdown
Contributor Author

Right, should be definitions only - updated, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants