From: cuz Date: Sat, 15 Sep 2001 11:59:30 +0000 (+0000) Subject: Enable even more warnings X-Git-Tag: V2.12.0~2649 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e67f4dcbd6a50c170d3e45da4fdcd08e4f6caeab;p=cc65 Enable even more warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@934 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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); -} +}