mailing list of musl libc
 help / color / mirror / code / Atom feed
0184400cadcb43bde041a3a4fcd59c0441e75b92 blob 822 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
#include <features.h>

#undef assert

#define __STDC_VERSION_ASSERT_H__ 202300L

// Ensure that this version only accepts arguments that resolve to one
// C expression after preprocessing.
#ifndef __ASSERT_EXPRESSION
#define __ASSERT_EXPRESSION(...) __assert_expression(__VA_ARGS__)
static inline _Bool __assert_expression(_Bool __x) { return __x; }
#endif

#ifdef NDEBUG
#define	assert(...) (void)0
#else
#define assert(...) ((void)(__ASSERT_EXPRESSION(__VA_ARGS__) || (__assert_fail(#__VA_ARGS__, __FILE__, __LINE__, __func__),0)))
#endif

#if __STDC_VERSION__ >= 201112L && __STDC_VERSION__ < 202311L && !defined(__cplusplus)
# define static_assert _Static_assert
#endif

#ifdef __cplusplus
extern "C" {
#endif

_Noreturn void __assert_fail (const char *, const char *, int, const char *);

#ifdef __cplusplus
}
#endif
debug log:

solving 0184400c ...
found 0184400c in https://inbox.vuxu.org/musl/6e967cd168d162c99a396ec11ddf45dcfc3e7fc1.1685522953.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/06035af9f536acb3a03a069d41ea59b869eb02e8.1684932861.git.Jens.Gustedt@inria.fr/
found 034c4aa7 in https://inbox.vuxu.org/musl/1fb2486a2f84e40acb728524b0f074d6ce073602.1684932861.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/c29c3d9b7955d95617350b1f91d97ab8bc23ec48.1685522953.git.Jens.Gustedt@inria.fr/
found 71007a10 in https://inbox.vuxu.org/musl/1c0cb3cdbbd685cf6a02188099ece6573a8704c7.1685522953.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/1bc9a5ada30d16b1e54b1f121c94c91696879525.1684932861.git.Jens.Gustedt@inria.fr/
found d14ec94e in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 d14ec94e7a263b2cbaa3a72b9ff09dc9d8807886	include/assert.h

applying [1/6] https://inbox.vuxu.org/musl/1c0cb3cdbbd685cf6a02188099ece6573a8704c7.1685522953.git.Jens.Gustedt@inria.fr/
diff --git a/include/assert.h b/include/assert.h
index d14ec94e..71007a10 100644

Checking patch include/assert.h...
Applied patch include/assert.h cleanly.

skipping https://inbox.vuxu.org/musl/1bc9a5ada30d16b1e54b1f121c94c91696879525.1684932861.git.Jens.Gustedt@inria.fr/ for 71007a10
index at:
100644 71007a103f70a207d3f2acc60246fa5cadd870ae	include/assert.h

applying [2/6] https://inbox.vuxu.org/musl/1fb2486a2f84e40acb728524b0f074d6ce073602.1684932861.git.Jens.Gustedt@inria.fr/
diff --git a/include/assert.h b/include/assert.h
index 71007a10..034c4aa7 100644

Checking patch include/assert.h...
Applied patch include/assert.h cleanly.

skipping https://inbox.vuxu.org/musl/c29c3d9b7955d95617350b1f91d97ab8bc23ec48.1685522953.git.Jens.Gustedt@inria.fr/ for 034c4aa7
index at:
100644 034c4aa799376e6fb798201fa3a1f818ecf36cfd	include/assert.h

applying [3/6] https://inbox.vuxu.org/musl/6e967cd168d162c99a396ec11ddf45dcfc3e7fc1.1685522953.git.Jens.Gustedt@inria.fr/
diff --git a/include/assert.h b/include/assert.h
index 034c4aa7..0184400c 100644

Checking patch include/assert.h...
Applied patch include/assert.h cleanly.

skipping https://inbox.vuxu.org/musl/06035af9f536acb3a03a069d41ea59b869eb02e8.1684932861.git.Jens.Gustedt@inria.fr/ for 0184400c
index at:
100644 0184400cadcb43bde041a3a4fcd59c0441e75b92	include/assert.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).