Skip to content

Commit

Permalink
build: reenable unknown attribute warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Nov 27, 2023
1 parent f1dec90 commit 9f3a3f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,15 @@ function(cubos_common_target_options target)
/wd4996 # Disable warning about deprecated functions
/wd4458 # Disable warning about shadowing member variables
/wd4456 # Disable warning about shadowing local variables
/wd4335 # Disable warning about Mac file format
/wd5030> # Introduces false positives for [[cubos::component]]
/wd4335> # Disable warning about Mac file format

$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:
-Wall
-Wextra
-pedantic
-Wconversion
-Werror
-Wno-attributes
-Wno-unknown-attributes> # Introduces false positives for [[cubos::component]]
-Wno-attributes>
)

# Enable clang-tidy
Expand Down

0 comments on commit 9f3a3f9

Please sign in to comment.