Skip to content

Commit e4b2ef8

Browse files
committed
regex: don't warn on unused functions
PCRE includes compatibility functions that may go unused. Don't warn.
1 parent 8877d7d commit e4b2ef8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/pcre/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64)
2020
CHECK_TYPE_SIZE("long long" LONG_LONG)
2121
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
2222

23+
DISABLE_WARNINGS(unused-function)
24+
2325
# User-configurable options
2426

2527
SET(SUPPORT_PCRE8 1)

0 commit comments

Comments
 (0)