From c228588499b5752aa632aa50bcfe1d447bba144f Mon Sep 17 00:00:00 2001 From: Scott Schneider Date: Wed, 15 Jan 2025 20:57:39 -0800 Subject: [PATCH] Wparenthesis is implied by Wall --- src/torchcodec/decoders/_core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torchcodec/decoders/_core/CMakeLists.txt b/src/torchcodec/decoders/_core/CMakeLists.txt index a0782c52..285201fd 100644 --- a/src/torchcodec/decoders/_core/CMakeLists.txt +++ b/src/torchcodec/decoders/_core/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.18) project(TorchCodec) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) -add_compile_options(-Wall -Wextra -pedantic -Werror -Wparentheses) +add_compile_options(-Wall -Wextra -pedantic -Werror) find_package(Torch REQUIRED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")