Skip to content

Commit

Permalink
Fix or exclude further warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus committed Feb 26, 2025
1 parent 786e5c4 commit a4007f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ if(MSVC)
$<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<C_COMPILER_ID:Clang>>:-Wno-microsoft-cast> # implicit conversion between pointer-to-function and pointer-to-object
$<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<C_COMPILER_ID:Clang>>:-Wno-unused-parameter> # same as /wd4100
$<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<C_COMPILER_ID:Clang>>:-Wno-deprecated-declarations> # same as /wd4996
$<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<C_COMPILER_ID:Clang>>:-Wno-format> # only Clang-CL
$<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<C_COMPILER_ID:Clang>>:-Wno-cast-function-type-mismatch> # only Clang-CL
)
elseif(MINGW)
# redirect to wmain
Expand Down
1 change: 1 addition & 0 deletions util/file/filesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include "base/files/file_path.h"
#include "util/file/file_io.h"
#include <cstdint>

namespace crashpad {

Expand Down

0 comments on commit a4007f3

Please sign in to comment.