Skip to content

Commit 104a48f

Browse files
committed
[TPython] Remove unneeded silencing of warnings
Silencing of warnings is not necessary anymore since the TPython refactoring last year.
1 parent c3eb783 commit 104a48f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Diff for: bindings/tpython/CMakeLists.txt

-9
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,4 @@ ROOT_STANDARD_LIBRARY_PACKAGE(ROOTTPython
3030
Python3::Python
3131
)
3232

33-
# Disables warnings originating from deprecated register keyword in Python
34-
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
35-
target_compile_options(ROOTTPython PRIVATE -Wno-register)
36-
endif()
37-
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
38-
target_compile_options(ROOTTPython PRIVATE -Wno-register)
39-
target_compile_options(ROOTTPython PRIVATE -Wno-deprecated-register)
40-
endif()
41-
4233
ROOT_ADD_TEST_SUBDIRECTORY(test)

0 commit comments

Comments
 (0)