Skip to content

Commit 1638b32

Browse files
[cherry-pick] Allow old-style C calls for librdkafka (#174)
Fixes build for swift 6.0 compiler
1 parent 298067a commit 1638b32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: Sources/Crdkafka/custom/config/config.h

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#define SOLIB_EXT ".so"
99
#endif
1010

11+
#pragma clang diagnostic ignored "-Wimplicit-function-declaration"
12+
1113
#ifdef __x86_64__
1214
#define ARCH "x86_64"
1315
#elif defined(__arm64__) || defined(__arm__) || defined(__aarch64__)

0 commit comments

Comments
 (0)