Skip to content

Commit 8a20f8c

Browse files
committed
Fix tests after -Wincompatible-pointer-types changes
This is now an error by default; disabling this for ClamAV should fix https://lab.llvm.org/buildbot/#/builders/210.
1 parent 7f6749e commit 8a20f8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MultiSource/Applications/ClamAV/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
list(APPEND CPPFLAGS -DHAVE_CONFIG_H -I${CMAKE_CURRENT_SOURCE_DIR} -I${CMAKE_CURRENT_SOURCE_DIR}/zlib -DDONT_LOCK_DBDIRS)
2+
list(APPEND CPPFLAGS -Wno-error=incompatible-pointer-types)
23

34
set(INPUT
45
inputs/clam.cab

MultiSource/Applications/ClamAV/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ include $(LEVEL)/Makefile.config
6565

6666
# for ClamAV these are in clamav-config.h, but since we can't run configure, we have to define them here
6767

68-
68+
CPPFLAGS += -Wno-error=incompatible-pointer-types
6969
# -- OS macros --
7070
# It is especially important to get this correctly defined for windows.
7171

0 commit comments

Comments
 (0)