daca04587c
update Swift * new tweaks to the build process are mostly documented inline * the swiftc wrapper needs the linker path for libicu * some older tweaks could be removed * remove fuzz from patches by updating line numbers * one build fix to libdispatch has been filed upstream
14 lines
591 B
Diff
14 lines
591 B
Diff
Nix compiles with _FORTIFY_SOURCE enabled. Fix error due to -Werror and an unused return value warning.
|
|
|
|
--- swift-corelibs-libdispatch/src/internal.h 2019-04-26 09:33:38.287289099 +0200
|
|
+++ swift-corelibs-libdispatch/src/internal.h 2019-04-26 15:31:10.485334128 +0200
|
|
@@ -1053,7 +1053,7 @@
|
|
#else
|
|
#define _dispatch_client_assert_fail(fmt, ...) do { \
|
|
char *_msg = NULL; \
|
|
- asprintf(&_msg, "%s" fmt, DISPATCH_ASSERTION_FAILED_MESSAGE, \
|
|
+ (void)asprintf(&_msg, "%s" fmt, DISPATCH_ASSERTION_FAILED_MESSAGE, \
|
|
##__VA_ARGS__); \
|
|
_dispatch_assert_crash(_msg); \
|
|
free(_msg); \
|