Skip to content

Commit

Permalink
Disable overloaded virtual being hidden warning
Browse files Browse the repository at this point in the history
Fix: intel#1807
Signed-off-by: Jay Yang <[email protected]>
  • Loading branch information
MicroYY committed Jun 6, 2024
1 parent 02d10ce commit e0cf240
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 e0cf240

Please sign in to comment.