summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3a8a4c8)
* support/regression/valdiag/tests/constantRange.c: adapted to gcc 4
* support/regression/tests/libmullong.c: fixed for host
* support/regression/ports/host/spec.mk: disable all warnings for host, SDCC runs with --less-pedantic too
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4262
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2006-07-03 Bernhard Held <bernhard AT bernhardheld.de>
+
+ * support/regression/valdiag/tests/switch.c,
+ * support/regression/valdiag/tests/constantRange.c: adapted to gcc 4
+ * support/regression/tests/libmullong.c: fixed for host
+ * support/regression/ports/host/spec.mk: disable all warnings for host,
+ SDCC runs with --less-pedantic too
+
2006-07-03 Borut Razem <borut.razem AT siol.net>
* src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in:
2006-07-03 Borut Razem <borut.razem AT siol.net>
* src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in:
# Port specification for compiling on the host machines version of gcc
SDCC = $(shell ( sh -c "gcc --version" 2>&1 ) > /dev/null && echo gcc || echo cc)
# Port specification for compiling on the host machines version of gcc
SDCC = $(shell ( sh -c "gcc --version" 2>&1 ) > /dev/null && echo gcc || echo cc)
-SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -fpack-struct -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
+SDCCFLAGS = -DPORT_HOST=1 -fsigned-char -fpack-struct -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
+# disable all warnings:
+SDCCFLAGS+= -w
+# enable all warnings:
+#SDCCFLAGS+= -Wall
EXEEXT = .bin
OBJEXT = .o
EXEEXT = .bin
OBJEXT = .o
*/
#if defined(PORT_HOST)
*/
#if defined(PORT_HOST)
+#define TYPE_TARGET_CHAR TYPE_BYTE
+#define TYPE_TARGET_INT TYPE_WORD
+#define TYPE_TARGET_LONG TYPE_DWORD
+#define TYPE_TARGET_UCHAR TYPE_UBYTE
+#define TYPE_TARGET_UINT TYPE_UWORD
+#define TYPE_TARGET_ULONG TYPE_UDWORD
+
#if defined(type_c) && !defined(WORDS_BIGENDIAN)
struct
{
#if defined(type_c) && !defined(WORDS_BIGENDIAN)
struct
{
- str.sb1 = -2; /* WARNING(SDCC) */
+ str.sb1 = -2; /* WARNING */
str.sb1 = -1;
str.sb1 = 1;
str.sb1 = -1;
str.sb1 = 1;
- str.sb1 = 2; /* WARNING(SDCC) */
+ str.sb1 = 2; /* WARNING */
- str.ub1 = -2; /* WARNING(SDCC) */
+ str.ub1 = -2; /* WARNING */
str.ub1 = -1;
str.ub1 = 1;
str.ub1 = -1;
str.ub1 = 1;
- str.ub1 = 2; /* WARNING(SDCC) */
+ str.ub1 = 2; /* WARNING */
- str.sb3 = -5; /* WARNING(SDCC) */
+ str.sb3 = -5; /* WARNING */
str.sb3 = -4;
str.sb3 = 7;
str.sb3 = -4;
str.sb3 = 7;
- str.sb3 = 8; /* WARNING(SDCC) */
+ str.sb3 = 8; /* WARNING */
- str.ub3 = -5; /* WARNING(SDCC) */
+ str.ub3 = -5; /* WARNING */
str.ub3 = -4;
str.ub3 = 7;
str.ub3 = -4;
str.ub3 = 7;
- str.ub3 = 8; /* WARNING(SDCC) */
+ str.ub3 = 8; /* WARNING */
ASSERT (! (-2 == str.sb1)); /* WARNING */
ASSERT ( (-1 == str.sb1));
ASSERT (! (-2 == str.sb1)); /* WARNING */
ASSERT ( (-1 == str.sb1));
+ x++; /* WARNING(SDCC) */
- char y=1; /* WARNING */
+ char y=1; /* WARNING(SDCC) */