Use the c99 standard rather than gnu99.

This commit is contained in:
Viral B. Shah 2012-07-02 20:25:10 +05:30
parent e218b57742
commit 5656ce4296
3 changed files with 3 additions and 5 deletions

View file

@ -1,7 +1,7 @@
CC=gcc CC=gcc
OS = $(shell uname) OS = $(shell uname)
ARCH = $(shell uname -m) 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 default: all

View file

@ -1,7 +1,7 @@
OPENLIBM_HOME=$(abspath ..) OPENLIBM_HOME=$(abspath ..)
include ../Make.inc 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 test-double: test-double.c libm-test.c
$(CC) -g $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@ $(CC) -g $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@

View file

@ -4538,9 +4538,7 @@ main (int argc, char **argv)
/* Nearest integer functions: */ /* Nearest integer functions: */
ceil_test (); ceil_test ();
floor_test (); floor_test ();
/* //nearbyint_test ();
nearbyint_test ();
*/
rint_test (); rint_test ();
lrint_test (); lrint_test ();
llrint_test (); llrint_test ();