Build #1558837 2024-11-20T23:02:16.773368+00:00
# rustc version
rustc 1.84.0-nightly (ee612c45f 2024-11-19)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/portable-dlmalloc-0.1.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/portable-dlmalloc-0.1.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241119-1.84.0-nightly-ee612c45f\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b4d5637ce098b5e2adffb5ef96afb82d286d0ba6463627ffffe6d0e053b86a1b
[INFO] running `Command { std: "docker" "start" "-a" "b4d5637ce098b5e2adffb5ef96afb82d286d0ba6463627ffffe6d0e053b86a1b", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling portable-dlmalloc v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:783:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 783 | MALLINFO_FIELD_TYPE arena; /* non-mmapped space allocated from system */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:784:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 784 | MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:785:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 785 | MALLINFO_FIELD_TYPE smblks; /* always 0 */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:786:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 786 | MALLINFO_FIELD_TYPE hblks; /* always 0 */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:787:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 787 | MALLINFO_FIELD_TYPE hblkhd; /* space in mmapped regions */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:788:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 788 | MALLINFO_FIELD_TYPE usmblks; /* maximum total allocated space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:789:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 789 | MALLINFO_FIELD_TYPE fsmblks; /* always 0 */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:790:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 790 | MALLINFO_FIELD_TYPE uordblks; /* total allocated space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:791:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 791 | MALLINFO_FIELD_TYPE fordblks; /* total free space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:728:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 728 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:792:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 792 | MALLINFO_FIELD_TYPE keepcost; /* releasable (via malloc_trim) space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:873:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 873 | DLMALLOC_EXPORT void* dlmalloc(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:889:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 889 | DLMALLOC_EXPORT void* dlcalloc(size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:913:40: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 913 | DLMALLOC_EXPORT void* dlrealloc(void*, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: +++ |+#include <stddef.h>
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1 | /*
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:928:49: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 928 | DLMALLOC_EXPORT void* dlrealloc_in_place(void*, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:928:49: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:942:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 942 | DLMALLOC_EXPORT void* dlmemalign(size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:952:46: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 952 | DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:952:46: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:952:54: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 952 | DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:952:54: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:959:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 959 | DLMALLOC_EXPORT void* dlvalloc(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:994:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 994 | DLMALLOC_EXPORT size_t dlmalloc_footprint(void);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1007:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1007 | DLMALLOC_EXPORT size_t dlmalloc_max_footprint(void);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1018:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1018 | DLMALLOC_EXPORT size_t dlmalloc_footprint_limit();
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1032:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1032 | DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1032:53: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1032 | DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1032:53: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1143:60: error: expected ')' before 'void'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1143 | DLMALLOC_EXPORT void** dlindependent_calloc(size_t, size_t, void**);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1201:61: error: expected ')' before '*' token
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1201 | DLMALLOC_EXPORT void** dlindependent_comalloc(size_t, size_t*, void**);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1212:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1212 | DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1212:45: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1212 | DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1212:45: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1219:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1219 | DLMALLOC_EXPORT void* dlpvalloc(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1242:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1242 | DLMALLOC_EXPORT int dlmalloc_trim(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1279:1: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1279 | size_t dlmalloc_usable_size(void*);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1279:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1517:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1517 | extern void* sbrk(ptrdiff_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1670:19: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1670 | void* custom_mmap(size_t length);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1670:19: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1671:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1671 | int custom_munmap(void* ptr,size_t length);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1671:29: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1672:26: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1672 | void* custom_direct_mmap(size_t length);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1672:26: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2236:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2236 | size_t prev_foot; /* Size of previous chunk (if free). */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2237:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2237 | size_t head; /* Size and inuse bits. */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2446:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2446 | size_t prev_foot;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2447:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2447 | size_t head;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2522:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2522 | size_t size; /* allocated size */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2633:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2633 | size_t dvsize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2634:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2634 | size_t topsize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2638:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2638 | size_t trim_check;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2639:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2639 | size_t release_checks;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2640:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2640 | size_t magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2643:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2643 | size_t footprint;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2644:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2644 | size_t max_footprint;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2645:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2645 | size_t footprint_limit; /* zero means no limit */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2652:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2652 | size_t exts;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2667:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2667 | size_t magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2668:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2668 | size_t page_size;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2669:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2669 | size_t granularity;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2670:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2670 | size_t mmap_threshold;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2671:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2671 | size_t trim_threshold;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: In function 'init_mparams':
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1870:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1870 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2089:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2089 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3156:3: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3156 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3158:9: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3158 | size_t magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3158:9: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3159:9: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3159 | size_t psize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3159:9: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3160:9: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3160 | size_t gsize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3160:9: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1614:46: error: 'size_t' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1614 | # define malloc_getpagesize ((size_t)4096U)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3163:17: note: in expansion of macro 'malloc_getpagesize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3163 | psize = malloc_getpagesize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1614:46: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1614 | # define malloc_getpagesize ((size_t)4096U)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3163:17: note: in expansion of macro 'malloc_getpagesize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3163 | psize = malloc_getpagesize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1614:46: note: each undeclared identifier is reported only once for each function it appears in
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1614 | # define malloc_getpagesize ((size_t)4096U)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3163:17: note: in expansion of macro 'malloc_getpagesize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3163 | psize = malloc_getpagesize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1614:53: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1614 | # define malloc_getpagesize ((size_t)4096U)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3163:17: note: in expansion of macro 'malloc_getpagesize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3163 | psize = malloc_getpagesize;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:604:40: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 604 | #define MAX_SIZE_T (~(size_t)0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3182:18: note: in expansion of macro 'MAX_SIZE_T'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3182 | (MAX_SIZE_T < MIN_CHUNK_SIZE) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2266:19: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2266 | ((MCHUNK_SIZE + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3182:31: note: in expansion of macro 'MIN_CHUNK_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3182 | (MAX_SIZE_T < MIN_CHUNK_SIZE) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2266:40: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2266 | ((MCHUNK_SIZE + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3182:31: note: in expansion of macro 'MIN_CHUNK_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3182 | (MAX_SIZE_T < MIN_CHUNK_SIZE) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3184:45: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3184 | (MALLOC_ALIGNMENT < (size_t)8U) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3185:56: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3185 | ((MALLOC_ALIGNMENT & (MALLOC_ALIGNMENT-SIZE_T_ONE)) != 0) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3186:51: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3186 | ((MCHUNK_SIZE & (MCHUNK_SIZE-SIZE_T_ONE)) != 0) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3187:45: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3187 | ((gsize & (gsize-SIZE_T_ONE)) != 0) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3188:45: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3188 | ((psize & (psize-SIZE_T_ONE)) != 0))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:706:41: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 706 | #define DEFAULT_MMAP_THRESHOLD ((size_t)256U * (size_t)1024U)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3192:34: note: in expansion of macro 'DEFAULT_MMAP_THRESHOLD'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3192 | mparams.mmap_threshold = DEFAULT_MMAP_THRESHOLD;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:699:41: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 699 | #define DEFAULT_TRIM_THRESHOLD ((size_t)2U * (size_t)1024U * (size_t)1024U)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3193:34: note: in expansion of macro 'DEFAULT_TRIM_THRESHOLD'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3193 | mparams.trim_threshold = DEFAULT_TRIM_THRESHOLD;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1763:42: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1763 | #define USE_MMAP_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3197:47: note: in expansion of macro 'USE_MMAP_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3197 | mparams.default_mflags = USE_LOCK_BIT|USE_MMAP_BIT|USE_NONCONTIGUOUS_BIT;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3224:44: error: expected ';' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3224 | magic = (size_t)&magic ^ (size_t)0x55555555U;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3228:28: error: expected ';' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3228 | magic |= (size_t)8U; /* ensure nonzero */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3229:29: error: expected ';' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3229 | magic &= ~(size_t)7U; /* improve chances of fault for bad values */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3231:22: error: expected ')' before 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3231 | (*(volatile size_t *)(&(mparams.magic))) = magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3231:11: warning: type defaults to 'int' in type name [-Wimplicit-int]
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3231 | (*(volatile size_t *)(&(mparams.magic))) = magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3231:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3231 | (*(volatile size_t *)(&(mparams.magic))) = magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3231:12: error: invalid type argument of unary '*' (have 'int')
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3231 | (*(volatile size_t *)(&(mparams.magic))) = magic;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: In function 'change_mparam':
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3241:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3241 | size_t val;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3241:3: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:604:33: error: 'size_t' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 604 | #define MAX_SIZE_T (~(size_t)0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3243:24: note: in expansion of macro 'MAX_SIZE_T'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3243 | val = (value == -1)? MAX_SIZE_T : (size_t)value;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:604:33: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 604 | #define MAX_SIZE_T (~(size_t)0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3243:24: note: in expansion of macro 'MAX_SIZE_T'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3243 | val = (value == -1)? MAX_SIZE_T : (size_t)value;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:604:40: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 604 | #define MAX_SIZE_T (~(size_t)0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3243:24: note: in expansion of macro 'MAX_SIZE_T'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3243 | val = (value == -1)? MAX_SIZE_T : (size_t)value;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3243:45: error: expected ';' before 'value'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3243 | val = (value == -1)? MAX_SIZE_T : (size_t)value;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: In function 'internal_mallinfo':
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3541:11: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3541 | size_t nfree = SIZE_T_ONE; /* top always free */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3541:11: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:31: error: 'size_t' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3541:26: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3541 | size_t nfree = SIZE_T_ONE; /* top always free */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:31: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3541:26: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3541 | size_t nfree = SIZE_T_ONE; /* top always free */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3541:26: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3541 | size_t nfree = SIZE_T_ONE; /* top always free */
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3542:17: error: expected ';' before 'mfree'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3542 | size_t mfree = m->topsize + TOP_FOOT_SIZE;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3543:17: error: expected ';' before 'sum'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3543 | size_t sum = mfree;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1650:19: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1650 | ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2272:47: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2272 | #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3546:31: note: in expansion of macro 'align_as_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3546 | mchunkptr q = align_as_chunk(s->base);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1651:39: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1651 | ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2272:47: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2272 | #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3546:31: note: in expansion of macro 'align_as_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3546 | mchunkptr q = align_as_chunk(s->base);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1651:60: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1651 | ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2272:47: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2272 | #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3546:31: note: in expansion of macro 'align_as_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3546 | mchunkptr q = align_as_chunk(s->base);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2300:30: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2300 | #define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2304:30: note: in expansion of macro 'INUSE_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2304 | #define FENCEPOST_HEAD (INUSE_BITS|SIZE_T_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3548:54: note: in expansion of macro 'FENCEPOST_HEAD'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3548 | q != m->top && q->head != FENCEPOST_HEAD) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1635:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1635 | #define SIZE_T_TWO ((size_t)2)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2298:30: note: in expansion of macro 'SIZE_T_TWO'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2298 | #define CINUSE_BIT (SIZE_T_TWO)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2300:41: note: in expansion of macro 'CINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2300 | #define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2304:30: note: in expansion of macro 'INUSE_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2304 | #define FENCEPOST_HEAD (INUSE_BITS|SIZE_T_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3548:54: note: in expansion of macro 'FENCEPOST_HEAD'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3548 | q != m->top && q->head != FENCEPOST_HEAD) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3549:25: error: expected ';' before 'sz'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3549 | size_t sz = chunksize(q);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3550:19: error: 'sum' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3550 | sum += sz;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3550:26: error: 'sz' undeclared (first use in this function); did you mean 's'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3550 | sum += sz;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | s
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2300:30: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2300 | #define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2310:43: note: in expansion of macro 'INUSE_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2310 | #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3551:24: note: in expansion of macro 'is_inuse'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3551 | if (!is_inuse(q)) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1635:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1635 | #define SIZE_T_TWO ((size_t)2)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2298:30: note: in expansion of macro 'SIZE_T_TWO'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2298 | #define CINUSE_BIT (SIZE_T_TWO)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2300:41: note: in expansion of macro 'CINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2300 | #define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2310:43: note: in expansion of macro 'INUSE_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2310 | #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3551:24: note: in expansion of macro 'is_inuse'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3551 | if (!is_inuse(q)) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2310:58: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2310 | #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3551:24: note: in expansion of macro 'is_inuse'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3551 | if (!is_inuse(q)) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3552:25: error: 'mfree' undeclared (first use in this function); did you mean 'nfree'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3552 | mfree += sz;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | nfree
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2301:30: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2301 | #define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2324:66: note: in expansion of macro 'FLAG_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2324 | #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3555:23: note: in expansion of macro 'next_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3555 | q = next_chunk(q);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1635:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1635 | #define SIZE_T_TWO ((size_t)2)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2298:30: note: in expansion of macro 'SIZE_T_TWO'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2298 | #define CINUSE_BIT (SIZE_T_TWO)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2301:41: note: in expansion of macro 'CINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2301 | #define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2324:66: note: in expansion of macro 'FLAG_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2324 | #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3555:23: note: in expansion of macro 'next_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3555 | q = next_chunk(q);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1636:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1636 | #define SIZE_T_FOUR ((size_t)4)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2299:30: note: in expansion of macro 'SIZE_T_FOUR'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2299 | #define FLAG4_BIT (SIZE_T_FOUR)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2301:52: note: in expansion of macro 'FLAG4_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2301 | #define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2324:66: note: in expansion of macro 'FLAG_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2324 | #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3555:23: note: in expansion of macro 'next_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3555 | q = next_chunk(q);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: At top level:
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3874:35: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3874 | static void* mmap_alloc(mstate m, size_t nb) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3874:35: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3906:56: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3906 | static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3906:56: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3944:45: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3944 | static void init_top(mstate m, mchunkptr p, size_t psize) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3944:45: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3989:52: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3989 | size_t nb) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3989:52: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4030:48: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4030 | static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4030:48: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4085:34: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4085 | static void* sys_alloc(mstate m, size_t nb) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4085:34: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4296:8: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4296 | static size_t release_unused_segments(mstate m) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: In function 'release_unused_segments':
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4297:3: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4297 | size_t released = 0;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4297:3: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4303:9: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4303 | size_t size = sp->size;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4303:9: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:31: error: 'size_t' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1763:42: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1763 | #define USE_MMAP_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2527:47: note: in expansion of macro 'USE_MMAP_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2527 | #define is_mmapped_segment(S) ((S)->sflags & USE_MMAP_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4306:13: note: in expansion of macro 'is_mmapped_segment'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4306 | if (is_mmapped_segment(sp) && !is_extern_segment(sp)) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:31: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1763:42: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1763 | #define USE_MMAP_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2527:47: note: in expansion of macro 'USE_MMAP_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2527 | #define is_mmapped_segment(S) ((S)->sflags & USE_MMAP_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4306:13: note: in expansion of macro 'is_mmapped_segment'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4306 | if (is_mmapped_segment(sp) && !is_extern_segment(sp)) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1763:42: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1763 | #define USE_MMAP_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2527:47: note: in expansion of macro 'USE_MMAP_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2527 | #define is_mmapped_segment(S) ((S)->sflags & USE_MMAP_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4306:13: note: in expansion of macro 'is_mmapped_segment'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4306 | if (is_mmapped_segment(sp) && !is_extern_segment(sp)) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1650:19: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1650 | ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2272:47: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2272 | #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4307:25: note: in expansion of macro 'align_as_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4307 | mchunkptr p = align_as_chunk(base);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1651:39: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1651 | ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2272:47: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2272 | #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4307:25: note: in expansion of macro 'align_as_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4307 | mchunkptr p = align_as_chunk(base);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1651:60: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1651 | ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2272:47: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2272 | #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4307:25: note: in expansion of macro 'align_as_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4307 | mchunkptr p = align_as_chunk(base);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4308:17: error: expected ';' before 'psize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4308 | size_t psize = chunksize(p);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ;
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2300:30: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2300 | #define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2310:43: note: in expansion of macro 'INUSE_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2310 | #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:16: note: in expansion of macro 'is_inuse'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1635:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1635 | #define SIZE_T_TWO ((size_t)2)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2298:30: note: in expansion of macro 'SIZE_T_TWO'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2298 | #define CINUSE_BIT (SIZE_T_TWO)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2300:41: note: in expansion of macro 'CINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2300 | #define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2310:43: note: in expansion of macro 'INUSE_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2310 | #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:16: note: in expansion of macro 'is_inuse'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2310:58: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2310 | #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:16: note: in expansion of macro 'is_inuse'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:42: error: 'psize' undeclared (first use in this function); did you mean 'size'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | size
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1650:19: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1650 | ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:4: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1651:39: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1651 | ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:4: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1651:60: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1651 | ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:4: note: in expansion of macro 'align_offset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2280:31: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2280 | (((req) + CHUNK_OVERHEAD + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:31: note: in expansion of macro 'pad_request'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2280:52: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2280 | (((req) + CHUNK_OVERHEAD + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:31: note: in expansion of macro 'pad_request'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2266:19: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2266 | ((MCHUNK_SIZE + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:74: note: in expansion of macro 'MIN_CHUNK_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1643:49: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1643 | #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2266:40: note: in expansion of macro 'CHUNK_ALIGN_MASK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2266 | ((MCHUNK_SIZE + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2782:74: note: in expansion of macro 'MIN_CHUNK_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2782 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4310:65: note: in expansion of macro 'TOP_FOOT_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4310 | if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1675:33: warning: implicit declaration of function 'custom_munmap' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1675 | #define MUNMAP_DEFAULT(a,s) custom_munmap(a,s)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1773:45: note: in expansion of macro 'MUNMAP_DEFAULT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1773 | #define CALL_MUNMAP(a, s) MUNMAP_DEFAULT((a), (s))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4320:21: note: in expansion of macro 'CALL_MUNMAP'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4320 | if (CALL_MUNMAP(base, size) == 0) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3711:16: error: expected ';' before 'K'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3711 | size_t K = S << leftshift_for_tree_index(I);\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4328:19: note: in expansion of macro 'insert_large_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4328 | insert_large_chunk(m, tp, psize);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2297:30: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2297 | #define PINUSE_BIT (SIZE_T_ONE)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2301:30: note: in expansion of macro 'PINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2301 | #define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2313:44: note: in expansion of macro 'FLAG_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2313 | #define chunksize(p) ((p)->head & ~(FLAG_BITS))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3713:15: note: in expansion of macro 'chunksize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3713 | if (chunksize(T) != S) {\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4328:19: note: in expansion of macro 'insert_large_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4328 | insert_large_chunk(m, tp, psize);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1635:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1635 | #define SIZE_T_TWO ((size_t)2)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2298:30: note: in expansion of macro 'SIZE_T_TWO'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2298 | #define CINUSE_BIT (SIZE_T_TWO)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2301:41: note: in expansion of macro 'CINUSE_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2301 | #define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2313:44: note: in expansion of macro 'FLAG_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2313 | #define chunksize(p) ((p)->head & ~(FLAG_BITS))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3713:15: note: in expansion of macro 'chunksize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3713 | if (chunksize(T) != S) {\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4328:19: note: in expansion of macro 'insert_large_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4328 | insert_large_chunk(m, tp, psize);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1636:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1636 | #define SIZE_T_FOUR ((size_t)4)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2299:30: note: in expansion of macro 'SIZE_T_FOUR'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2299 | #define FLAG4_BIT (SIZE_T_FOUR)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2301:52: note: in expansion of macro 'FLAG4_BIT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2301 | #define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2313:44: note: in expansion of macro 'FLAG_BITS'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2313 | #define chunksize(p) ((p)->head & ~(FLAG_BITS))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3713:15: note: in expansion of macro 'chunksize'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3713 | if (chunksize(T) != S) {\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4328:19: note: in expansion of macro 'insert_large_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4328 | insert_large_chunk(m, tp, psize);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3714:44: error: 'K' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3714 | tchunkptr* C = &(T->child[(K >> (SIZE_T_BITSIZE-SIZE_T_ONE)) & 1]);\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4328:19: note: in expansion of macro 'insert_large_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4328 | insert_large_chunk(m, tp, psize);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1634:38: error: expected ')' before numeric constant
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1634 | #define SIZE_T_ONE ((size_t)1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:3714:65: note: in expansion of macro 'SIZE_T_ONE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 3714 | tchunkptr* C = &(T->child[(K >> (SIZE_T_BITSIZE-SIZE_T_ONE)) & 1]);\
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4328:19: note: in expansion of macro 'insert_large_chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4328 | insert_large_chunk(m, tp, psize);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4338:33: error: expected ')' before 'nsegs'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4338 | m->release_checks = (((size_t) nsegs > (size_t) MAX_RELEASE_CHECK_RATE)?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ~ ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4339:52: error: expected ':' before 'nsegs'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4339 | (size_t) nsegs : (size_t) MAX_RELEASE_CHECK_RATE);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | :
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: At top level:
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4343:31: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4343 | static int sys_trim(mstate m, size_t pad) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4343:31: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4411:50: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4411 | static void dispose_chunk(mstate m, mchunkptr p, size_t psize) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4411:50: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4482:38: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4482 | static void* tmalloc_large(mstate m, size_t nb) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4482:38: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4553:38: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4553 | static void* tmalloc_small(mstate m, size_t nb) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4553:38: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4592:16: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4592 | void* dlmalloc(size_t bytes) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4592:16: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c: In function 'dlfree':
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1628:37: error: 'size_t' undeclared (first use in this function)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1628 | #define SIZE_T_SIZE (sizeof(size_t))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1637:30: note: in expansion of macro 'SIZE_T_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1637 | #define TWO_SIZE_T_SIZES (SIZE_T_SIZE<<1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2270:57: note: in expansion of macro 'TWO_SIZE_T_SIZES'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2270 | #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4738:24: note: in expansion of macro 'mem2chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4738 | mchunkptr p = mem2chunk(mem);
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1628:37: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1628 | #define SIZE_T_SIZE (sizeof(size_t))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:1637:30: note: in expansion of macro 'SIZE_T_SIZE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 1637 | #define TWO_SIZE_T_SIZES (SIZE_T_SIZE<<1)
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:2270:57: note: in expansion of macro 'TWO_SIZE_T_SIZES'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 2270 | #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES))
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: | ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: ./malloc.c:4738:24: note: in expansion of macro 'mem2chunk'
[INFO] [stderr] warning: portable-dlmalloc@0.1.2: 4738 | mchunkptr p = mem2chunk(mem);
[WARN] too much data in the log, truncating it