strict check

This commit is contained in:
Yuichi Nishiwaki 2015-07-20 02:52:47 +09:00
parent 86a056c70a
commit 3a96d093ed
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ test: test-contribs test-nostdlib
test-contribs: bin/picrin $(CONTRIB_TESTS)
test-nostdlib:
$(CC) -I extlib/benz/include -D'PIC_ENABLE_LIBC=0' -D'PIC_ENABLE_FLOAT=0' -D'PIC_ENABLE_STDIO=0' -nostdlib -fPIC -shared -std=c89 -pedantic -Wall -Wextra -Werror -o lib/libbenz.so $(BENZ_SRCS) etc/libc_polyfill.c -fno-stack-protector
$(CC) -I extlib/benz/include -D'PIC_ENABLE_LIBC=0' -D'PIC_ENABLE_FLOAT=0' -D'PIC_ENABLE_STDIO=0' -ffreestanding -nostdlib -fPIC -shared -std=c89 -pedantic -Wall -Wextra -Werror -o lib/libbenz.so $(BENZ_SRCS) etc/libc_polyfill.c -fno-stack-protector
rm -f lib/libbenz.so
install: all

View File

@ -7,7 +7,7 @@
void
pic_panic(pic_state PIC_UNUSED(*pic), const char *msg)
{
extern void abort();
extern PIC_NORETURN void abort();
#if DEBUG
fprintf(stderr, "abort: %s\n", msg);