include/jemalloc/internal/log.h:42:1: 警告:空声明 [默认启用]
struct log_var_s {
^
include/jemalloc/internal/log.h:62:31: 错误:expected declaration specifiers or ‘...’ before ‘log_var_t’
unsigned log_var_update_state(log_var_t *log_var);
^
include/jemalloc/internal/log.h:89:41: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
log_impl_varargs(const char *name, ...) {
^
In file included from src/jemalloc.c:18:0:
include/jemalloc/internal/spin.h:8:3: 错误:为形参‘spin_t’指定了存储类
} spin_t;
^
include/jemalloc/internal/spin.h:11:21: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
spin_cpu_spinwait() {
^
include/jemalloc/internal/spin.h:21:15: 错误:expected declaration specifiers or ‘...’ before ‘spin_t’
spin_adaptive(spin_t *spin) {
^
src/jemalloc.c:29:5: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_ATTR’
JEMALLOC_ATTR(weak)
^
src/jemalloc.c:32:1: 错误:形参‘opt_abort’已初始化
bool opt_abort =
^
src/jemalloc.c:32:6: 错误:形参‘opt_abort’重定义
bool opt_abort =
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:11:13: 附注:‘opt_abort’的上一个定义在此
extern bool opt_abort;
^
src/jemalloc.c:39:1: 错误:形参‘opt_abort_conf’已初始化
bool opt_abort_conf =
^
src/jemalloc.c:39:6: 错误:形参‘opt_abort_conf’重定义
bool opt_abort_conf =
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:12:13: 附注:‘opt_abort_conf’的上一个定义在此
extern bool opt_abort_conf;
^
src/jemalloc.c:47:1: 错误:形参‘opt_confirm_conf’已初始化
bool opt_confirm_conf = false;
^
src/jemalloc.c:47:6: 错误:形参‘opt_confirm_conf’重定义
bool opt_confirm_conf = false;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:13:13: 附注:‘opt_confirm_conf’的上一个定义在此
extern bool opt_confirm_conf;
^
src/jemalloc.c:48:1: 错误:形参‘opt_junk’已初始化
const char *opt_junk =
^
src/jemalloc.c:48:13: 错误:形参‘opt_junk’重定义
const char *opt_junk =
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:14:20: 附注:‘opt_junk’的上一个定义在此
extern const char *opt_junk;
^
src/jemalloc.c:55:1: 错误:形参‘opt_junk_alloc’已初始化
bool opt_junk_alloc =
^
src/jemalloc.c:55:6: 错误:形参‘opt_junk_alloc’重定义
bool opt_junk_alloc =
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:15:13: 附注:‘opt_junk_alloc’的上一个定义在此
extern bool opt_junk_alloc;
^
src/jemalloc.c:62:1: 错误:形参‘opt_junk_free’已初始化
bool opt_junk_free =
^
src/jemalloc.c:62:6: 错误:形参‘opt_junk_free’重定义
bool opt_junk_free =
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:16:13: 附注:‘opt_junk_free’的上一个定义在此
extern bool opt_junk_free;
^
src/jemalloc.c:70:1: 错误:形参‘opt_utrace’已初始化
bool opt_utrace = false;
^
src/jemalloc.c:70:6: 错误:形参‘opt_utrace’重定义
bool opt_utrace = false;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:17:13: 附注:‘opt_utrace’的上一个定义在此
extern bool opt_utrace;
^
src/jemalloc.c:71:1: 错误:形参‘opt_xmalloc’已初始化
bool opt_xmalloc = false;
^
src/jemalloc.c:71:6: 错误:形参‘opt_xmalloc’重定义
bool opt_xmalloc = false;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:18:13: 附注:‘opt_xmalloc’的上一个定义在此
extern bool opt_xmalloc;
^
src/jemalloc.c:72:1: 错误:形参‘opt_zero’已初始化
bool opt_zero = false;
^
src/jemalloc.c:72:6: 错误:形参‘opt_zero’重定义
bool opt_zero = false;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:19:13: 附注:‘opt_zero’的上一个定义在此
extern bool opt_zero;
^
src/jemalloc.c:73:1: 错误:形参‘opt_narenas’已初始化
unsigned opt_narenas = 0;
^
src/jemalloc.c:73:10: 错误:形参‘opt_narenas’重定义
unsigned opt_narenas = 0;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:20:17: 附注:‘opt_narenas’的上一个定义在此
extern unsigned opt_narenas;
^
src/jemalloc.c:75:10: 错误:形参‘ncpus’重定义
unsigned ncpus;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:23:17: 附注:‘ncpus’的上一个定义在此
extern unsigned ncpus;
^
src/jemalloc.c:78:1: 错误:expected declaration specifiers before ‘malloc_mutex_t’
malloc_mutex_t arenas_lock;
^
src/jemalloc.c:89:1: 错误:expected declaration specifiers before ‘JEMALLOC_ALIGNED’
JEMALLOC_ALIGNED(CACHELINE)
^
src/jemalloc.c:91:19: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘narenas_total’
static atomic_u_t narenas_total; /* Use narenas_total_*(). */
^
src/jemalloc.c:93:18: 错误:为形参‘a0’指定了存储类
static arena_t *a0; /* arenas[0]. */
^
src/jemalloc.c:94:11: 错误:形参‘narenas_auto’重定义
unsigned narenas_auto;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:26:17: 附注:‘narenas_auto’的上一个定义在此
extern unsigned narenas_auto;
^
src/jemalloc.c:95:11: 错误:形参‘manual_arena_base’重定义
unsigned manual_arena_base;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:29:17: 附注:‘manual_arena_base’的上一个定义在此
extern unsigned manual_arena_base;
^
src/jemalloc.c:102:3: 错误:为形参‘malloc_init_t’指定了存储类
} malloc_init_t;
^
src/jemalloc.c:103:22: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘malloc_init_state’
static malloc_init_t malloc_init_state = malloc_init_uninitialized;
^
src/jemalloc.c:106:1: 错误:形参‘malloc_slow’已初始化
bool malloc_slow = true;
^
src/jemalloc.c:106:8: 错误:形参‘malloc_slow’重定义
bool malloc_slow = true;
^
In file included from include/jemalloc/internal/tsd.h:7:0,
from include/jemalloc/internal/mutex.h:6,
from include/jemalloc/internal/extent_structs.h:7,
from include/jemalloc/internal/jemalloc_internal_includes.h:54,
from src/jemalloc.c:3:
include/jemalloc/internal/jemalloc_internal_externs.h:8:13: 附注:‘malloc_slow’的上一个定义在此
extern bool malloc_slow;
^
src/jemalloc.c:109:1: 警告:空声明 [默认启用]
enum {
^
src/jemalloc.c:116:16: 错误:为形参‘malloc_slow_flags’指定了存储类
static uint8_t malloc_slow_flags;
^
src/jemalloc.c:123:19: 错误:为形参‘malloc_initializer’指定了存储类
static pthread_t malloc_initializer = NO_INITIALIZER;
^
src/jemalloc.c:123:1: 错误:形参‘malloc_initializer’已初始化
static pthread_t malloc_initializer = NO_INITIALIZER;
^
src/jemalloc.c:166:23: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘init_lock’
static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER;
^
src/jemalloc.c:166:59: 错误:expected declaration specifiers before ‘;’ token
static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER;
^
src/jemalloc.c:173:3: 错误:为形参‘malloc_utrace_t’指定了存储类
} malloc_utrace_t;
^
src/jemalloc.c:192:13: 错误:为形参‘had_conf_error’指定了存储类
static bool had_conf_error = false;
^
src/jemalloc.c:192:1: 错误:形参‘had_conf_error’已初始化
static bool had_conf_error = false;
^
src/jemalloc.c:200:13: 错误:为形参‘malloc_init_hard_a0’指定了存储类
static bool malloc_init_hard_a0(void);
^
src/jemalloc.c:201:13: 错误:为形参‘malloc_init_hard’指定了存储类
static bool malloc_init_hard(void);
^
src/jemalloc.c:209:26: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_initialized(void) {
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:213:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE bool
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:221:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE bool
^
src/jemalloc.c:235:52: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
a0ialloc(size_t size, bool zero, bool is_internal) {
^
src/jemalloc.c:245:40: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
a0idalloc(void *ptr, bool is_internal) {
^
src/jemalloc.c:250:23: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
a0malloc(size_t size) {
^
src/jemalloc.c:255:21: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
a0dalloc(void *ptr) {
^
src/jemalloc.c:266:31: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
bootstrap_malloc(size_t size) {
^
src/jemalloc.c:275:43: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
bootstrap_calloc(size_t num, size_t size) {
^
src/jemalloc.c:288:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
bootstrap_free(void *ptr) {
^
src/jemalloc.c:297:41: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
arena_set(unsigned ind, arena_t *arena) {
^
src/jemalloc.c:302:37: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
narenas_total_set(unsigned narenas) {
^
src/jemalloc.c:307:25: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
narenas_total_inc(void) {
^
src/jemalloc.c:312:25: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
narenas_total_get(void) {
^
src/jemalloc.c:318:19: 错误:expected declaration specifiers or ‘...’ before ‘tsdn_t’
arena_init_locked(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) {
^
src/jemalloc.c:318:47: 错误:未知的类型名‘extent_hooks_t’
arena_init_locked(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) {
^
src/jemalloc.c:346:36: 错误:expected declaration specifiers or ‘...’ before ‘tsdn_t’
arena_new_create_background_thread(tsdn_t *tsdn, unsigned ind) {
^
src/jemalloc.c:364:12: 错误:expected declaration specifiers or ‘...’ before ‘tsdn_t’
arena_init(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) {
^
src/jemalloc.c:364:40: 错误:未知的类型名‘extent_hooks_t’
arena_init(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) {
^
src/jemalloc.c:377:12: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arena_bind(tsd_t *tsd, unsigned ind, bool internal) {
^
src/jemalloc.c:397:15: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind) {
^
src/jemalloc.c:408:14: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arena_unbind(tsd_t *tsd, unsigned ind, bool internal) {
^
src/jemalloc.c:422:22: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arena_tdata_get_hard(tsd_t *tsd, unsigned ind) {
^
src/jemalloc.c:499:19: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arena_choose_hard(tsd_t *tsd, bool internal) {
^
src/jemalloc.c:613:16: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
iarena_cleanup(tsd_t *tsd) {
^
src/jemalloc.c:623:15: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arena_cleanup(tsd_t *tsd) {
^
src/jemalloc.c:633:22: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
arenas_tdata_cleanup(tsd_t *tsd) {
^
src/jemalloc.c:647:26: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
stats_print_atexit(void) {
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:683:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void
^
src/jemalloc.c:712:42: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
jemalloc_secure_getenv(const char *name) {
^
src/jemalloc.c:726:20: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_ncpus(void) {
^
src/jemalloc.c:754:55: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
init_opt_stats_print_opts(const char *v, size_t vlen) {
^
src/jemalloc.c:781:80: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
size_t *vlen_left, size_t *slab_start, size_t *slab_end, size_t *new_size) {
^
src/jemalloc.c:824:39: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
char const **v_p, size_t *vlen_p) {
^
src/jemalloc.c:898:33: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_abort_invalid_conf(void) {
^
src/jemalloc.c:907:18: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
size_t vlen) {
^
src/jemalloc.c:920:29: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_slow_flag_init(void) {
^
src/jemalloc.c:938:67: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
obtain_malloc_conf(unsigned which_source, char buf[PATH_MAX + 1]) {
^
src/jemalloc.c:1023:29: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
char buf[PATH_MAX + 1]) {
^
src/jemalloc.c:1440:74: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_conf_init(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS]) {
^
src/jemalloc.c:1453:31: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_hard_needed(void) {
^
src/jemalloc.c:1479:30: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_hard_a0_locked() {
^
src/jemalloc.c:1564:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_hard_a0(void) {
^
src/jemalloc.c:1575:35: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_hard_recursible(void) {
^
src/jemalloc.c:1602:30: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_narenas_default(void) {
^
src/jemalloc.c:1616:55: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
percpu_arena_as_initialized(percpu_arena_mode_t mode) {
^
src/jemalloc.c:1628:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_narenas(void) {
^
src/jemalloc.c:1704:26: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_percpu(void) {
^
src/jemalloc.c:1709:31: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_hard_finish(void) {
^
src/jemalloc.c:1721:26: 错误:expected declaration specifiers or ‘...’ before ‘tsdn_t’
malloc_init_hard_cleanup(tsdn_t *tsdn, bool reentrancy_set) {
^
src/jemalloc.c:1733:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
malloc_init_hard(void) {
^
src/jemalloc.c:1815:30: 错误:为形参‘static_opts_t’指定了存储类
typedef struct static_opts_s static_opts_t;
^
src/jemalloc.c:1816:1: 警告:空声明 [默认启用]
struct static_opts_s {
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:1863:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void
^
src/jemalloc.c:1886:31: 错误:为形参‘dynamic_opts_t’指定了存储类
typedef struct dynamic_opts_s dynamic_opts_t;
^
src/jemalloc.c:1887:1: 警告:空声明 [默认启用]
struct dynamic_opts_s {
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:1898:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:1911:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void *
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:1953:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void *
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:1989:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE bool
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2027:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE int
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2227:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE bool
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2245:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE int
^
src/jemalloc.c:2269:1: 错误:expected declaration specifiers before ‘JEMALLOC_NOINLINE’
JEMALLOC_NOINLINE
^
src/jemalloc.c:2320:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2320:36: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_RESTRICT_RETURN’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2391:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT int JEMALLOC_NOTHROW
^
src/jemalloc.c:2430:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2430:36: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_RESTRICT_RETURN’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2471:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2471:36: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_RESTRICT_RETURN’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2506:22: 错误:expected declaration specifiers or ‘...’ before ‘tsd_t’
irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize,
^
src/jemalloc.c:2507:24: 错误:expected declaration specifiers or ‘...’ before ‘hook_ralloc_args_t’
prof_tctx_t *tctx, hook_ralloc_args_t *hook_args) {
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2528:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void *
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2555:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void
^
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2594:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void
^
src/jemalloc.c:2650:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2650:36: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_RESTRICT_RETURN’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:2769:1: 错误:expected declaration specifiers before ‘JEMALLOC_NOINLINE’
JEMALLOC_NOINLINE
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:2805:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE
^
src/jemalloc.c:2862:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT void JEMALLOC_NOTHROW
^
src/jemalloc.c:3095:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:3095:36: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_RESTRICT_RETURN’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:3149:22: 错误:expected declaration specifiers or ‘...’ before ‘tsdn_t’
irallocx_prof_sample(tsdn_t *tsdn, void *old_ptr, size_t old_usize,
^
src/jemalloc.c:3151:24: 错误:expected declaration specifiers or ‘...’ before ‘hook_ralloc_args_t’
prof_tctx_t *tctx, hook_ralloc_args_t *hook_args) {
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:3173:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE void *
^
src/jemalloc.c:3213:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
src/jemalloc.c:3213:36: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_RESTRICT_RETURN’
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:3311:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE size_t
^
src/jemalloc.c:3325:22: 错误:expected declaration specifiers or ‘...’ before ‘tsdn_t’
ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:3338:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE size_t
^
src/jemalloc.c:3389:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3389:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_NOTHROW’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3459:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3459:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_NOTHROW’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3486:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT void JEMALLOC_NOTHROW
^
In file included from include/jemalloc/internal/jemalloc_preamble.h:34:0,
from src/jemalloc.c:2:
include/jemalloc/internal/jemalloc_internal_macros.h:7:34: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline
^
src/jemalloc.c:3533:1: 附注:in expansion of macro ‘JEMALLOC_ALWAYS_INLINE’
JEMALLOC_ALWAYS_INLINE size_t
^
src/jemalloc.c:3547:1: 错误:expected declaration specifiers before ‘JEMALLOC_NOINLINE’
JEMALLOC_NOINLINE void
^
src/jemalloc.c:3593:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT void JEMALLOC_NOTHROW
^
src/jemalloc.c:3606:1: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘je_sdallocx_noflags’
je_sdallocx_noflags(void *ptr, size_t size) {
^
src/jemalloc.c:3617:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3617:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_NOTHROW’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3644:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT int JEMALLOC_NOTHROW
^
src/jemalloc.c:3666:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT int JEMALLOC_NOTHROW
^
src/jemalloc.c:3686:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT int JEMALLOC_NOTHROW
^
src/jemalloc.c:3707:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT void JEMALLOC_NOTHROW
^
src/jemalloc.c:3721:1: 错误:未知的类型名‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3721:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JEMALLOC_NOTHROW’
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
^
src/jemalloc.c:3772:1: 错误:expected declaration specifiers before ‘JEMALLOC_ATTR’
JEMALLOC_ATTR(constructor)
^
src/jemalloc.c:3786:1: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
src/jemalloc.c:3860:1: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
src/jemalloc.c:3894:31: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
jemalloc_postfork_child(void) {
^
src/jemalloc.c:3927:1: 错误:expected declaration specifiers before ‘JEMALLOC_EXPORT’
JEMALLOC_EXPORT int JEMALLOC_NOTHROW
^
In file included from include/jemalloc/internal/assert.h:1:0,
from include/jemalloc/internal/bit_util.h:4,
from include/jemalloc/internal/bitmap.h:5,
from include/jemalloc/internal/arena_structs_a.h:4,
from include/jemalloc/internal/jemalloc_internal_includes.h:53,
from src/jemalloc.c:3:
include/jemalloc/internal/malloc_io.h:54:8: 错误:原型函数定义中使用了旧式参数声明
size_t malloc_snprintf(char *str, size_t size, const char *format, ...)
^
src/jemalloc.c:3931:1: 错误:expected ‘{’ at end of input
}
^
src/jemalloc.c:3931:1: 警告:在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
}
^
make: *** [src/jemalloc.sym.o] 错误 1