diff options
author | Matt McCormick <matt@mmmccormick.com> | 2019-02-11 01:18:57 -0500 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2019-02-10 22:18:57 -0800 |
commit | 800a45337bc77163ba54237284ee7e6786af2a08 (patch) | |
tree | 5778a4508a318ad10dadb365664f60bb3e27d286 /src/binary-reader-objdump.cc | |
parent | 86ca8824a9cc4298fe4f1b017bf5e006588efd20 (diff) | |
download | wabt-800a45337bc77163ba54237284ee7e6786af2a08.tar.gz wabt-800a45337bc77163ba54237284ee7e6786af2a08.tar.bz2 wabt-800a45337bc77163ba54237284ee7e6786af2a08.zip |
Add missing string.h include to wasm-rt-impl.c (#1010)
Addresses:
gcc -I/tmp/wabt/wasm2c -O3 /tmp/wabt/wasm2c/wasm-rt-impl.c -o wasm-rt-impl.o
/tmp/wabt/wasm2c/wasm-rt-impl.c: In function ‘wasm_rt_grow_memory’:
/tmp/wabt/wasm2c/wasm-rt-impl.c:111:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(memory->data + old_pages * PAGE_SIZE, 0, delta * PAGE_SIZE);
^~~~~~
/tmp/wabt/wasm2c/wasm-rt-impl.c:111:3: warning: incompatible implicit declaration of built-in function ‘memset’
/tmp/wabt/wasm2c/wasm-rt-impl.c:111:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
with gcc (Debian 6.3.0-18+deb9u1).
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions