mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
Use the c99 standard rather than gnu99.
This commit is contained in:
parent
e218b57742
commit
5656ce4296
3 changed files with 3 additions and 5 deletions
2
Make.inc
2
Make.inc
|
@ -1,7 +1,7 @@
|
|||
CC=gcc
|
||||
OS = $(shell uname)
|
||||
ARCH = $(shell uname -m)
|
||||
CFLAGS= -std=gnu99 -Wall -O2 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
|
||||
CFLAGS= -std=c99 -Wall -O2 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
|
||||
|
||||
default: all
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
OPENLIBM_HOME=$(abspath ..)
|
||||
include ../Make.inc
|
||||
|
||||
all: test-double test-float test-double-system test-float-system
|
||||
all: test-double test-float test-double-system
|
||||
|
||||
test-double: test-double.c libm-test.c
|
||||
$(CC) -g $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
|
||||
|
|
|
@ -4538,9 +4538,7 @@ main (int argc, char **argv)
|
|||
/* Nearest integer functions: */
|
||||
ceil_test ();
|
||||
floor_test ();
|
||||
/*
|
||||
nearbyint_test ();
|
||||
*/
|
||||
//nearbyint_test ();
|
||||
rint_test ();
|
||||
lrint_test ();
|
||||
llrint_test ();
|
||||
|
|
Loading…
Reference in a new issue