From: michaelh Date: Wed, 28 Nov 2001 02:02:46 +0000 (+0000) Subject: Fixed up more warnings X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=e2d5ecab4daf154db6b8505dbb6892847139cc3f;p=fw%2Fsdcc Fixed up more warnings git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1652 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/regression/ports/host/spec.mk b/support/regression/ports/host/spec.mk index 9471f7e9..caa98d36 100644 --- a/support/regression/ports/host/spec.mk +++ b/support/regression/ports/host/spec.mk @@ -1,6 +1,6 @@ # Port specification for compiling on the host machines version of gcc SDCC = gcc -SDCCFLAGS = -Wall -fsigned-char -DREENTRANT= +SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -DREENTRANT= EXEEXT = .bin diff --git a/support/regression/tests/simplefloat.c b/support/regression/tests/simplefloat.c index deffb239..8f10a205 100644 --- a/support/regression/tests/simplefloat.c +++ b/support/regression/tests/simplefloat.c @@ -19,6 +19,7 @@ testCmp(void) void testDiv(void) { +#if !PORT_HOST volatile float left, right; left = 17; @@ -29,6 +30,7 @@ testDiv(void) right = 17; ASSERT(left/right == 1.0); +#endif } void