From e67f4dcbd6a50c170d3e45da4fdcd08e4f6caeab Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 15 Sep 2001 11:59:30 +0000 Subject: [PATCH] Enable even more warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@934 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/make/gcc.mak | 2 +- src/ca65/objfile.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ca65/make/gcc.mak b/src/ca65/make/gcc.mak index 788c35338..028879ff4 100644 --- a/src/ca65/make/gcc.mak +++ b/src/ca65/make/gcc.mak @@ -5,7 +5,7 @@ # Library dir COMMON = ../common -CFLAGS = -g -O2 -Wall -Wsign-compare -I$(COMMON) +CFLAGS = -g -O2 -Wall -W -Wno-unused-parameter -I$(COMMON) CC = gcc EBIND = emxbind LDFLAGS = diff --git a/src/ca65/objfile.c b/src/ca65/objfile.c index 867f771ab..c8859f5fc 100644 --- a/src/ca65/objfile.c +++ b/src/ca65/objfile.c @@ -64,7 +64,8 @@ static FILE* F = 0; /* Header structure */ static ObjHeader Header = { OBJ_MAGIC, - OBJ_VERSION + OBJ_VERSION, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; @@ -243,7 +244,7 @@ void ObjWriteStr (const char* S) */ ObjWriteVar (Len); ObjWriteData (S, Len); -} +} -- 2.39.5