Skip to content

Commit

Permalink
[Media Common] [VP] Disable overloaded virtual being hidden warning
Browse files Browse the repository at this point in the history
Fix: #1807
Signed-off-by: Jay Yang <jay.yang@intel.com>
  • Loading branch information
MicroYY authored and intel-mediadev committed Jun 21, 2024
1 parent 2b7105b commit 632f240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions media_driver/cmake/linux/media_compile_flags_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(MEDIA_COMPILER_FLAGS_COMMON
-Werror=format-security
-Werror=non-virtual-dtor
-Werror=return-type
-Wno-overloaded-virtual

# General optimization options
-finline-functions
Expand Down
1 change: 1 addition & 0 deletions media_softlet/cmake/linux/media_compile_flags_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(MEDIA_COMPILER_FLAGS_COMMON
-Werror=format-security
-Werror=non-virtual-dtor
-Werror=return-type
-Wno-overloaded-virtual

# General optimization options
-finline-functions
Expand Down

0 comments on commit 632f240

Please sign in to comment.