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

Enable -Werror=overloaded-virtual compiler flag #896

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

pudelkoM
Copy link
Member

This catches virtual functions that got overloaded by accident, e.g., different parameter types or constness.

@codecov
Copy link

codecov bot commented Jan 12, 2022

Codecov Report

Merging #896 (f099d6e) into main (01e2b6e) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #896      +/-   ##
==========================================
- Coverage   78.80%   78.79%   -0.01%     
==========================================
  Files         336      336              
  Lines       30128    30130       +2     
==========================================
  Hits        23742    23742              
- Misses       6386     6388       +2     
Impacted Files Coverage Δ
stratum/hal/lib/bcm/bcm_node_mock.h 53.84% <0.00%> (-4.49%) ⬇️
stratum/lib/security/credentials_manager_mock.h 66.66% <0.00%> (-33.34%) ⬇️

This catches virtual functions that got overloaded by accident, e.g., different parameter types or constness.
@pudelkoM pudelkoM force-pushed the cc-flag-overloaded-virtual-func branch from 17cf5d5 to f099d6e Compare January 12, 2022 07:27
@pudelkoM pudelkoM merged commit 4f4727c into main Jan 12, 2022
@pudelkoM pudelkoM deleted the cc-flag-overloaded-virtual-func branch January 12, 2022 08:13
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 13, 2024
- Flag was enabled by a previous merge. This commit updates a couple
  files that were evidently flagged when the flag was enabled.

Signed-off-by: Derek G Foster <derek.foster@intel.com>
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 17, 2024
- Flag was enabled by a previous merge. This commit updates a couple
  files that were evidently flagged when the flag was enabled.

Signed-off-by: Derek G Foster <derek.foster@intel.com>
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