From: bernhardheld Date: Sun, 5 Oct 2003 19:46:47 +0000 (+0000) Subject: * clean.mk: fixed removal of files in bin/CVS/ X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d3e9a3c6e43e6623ed168709704e410609302ddd;p=fw%2Fsdcc * clean.mk: fixed removal of files in bin/CVS/ * device/lib/clean.mk: fixed removal of directories small and large * support/Util/SDCCerr.c: changed W_INT_OVL to ERROR_LEVEL_PEDANTIC git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2924 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index b8968b16..2120cf3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,9 +7,11 @@ defining the environment variable LRKLAUS * src/SDCCBBlock.h * src/SDCCloop.c - * src/SDCCloop.h * src/SDCClrange.c * src/ds390/ralloc.c (spillThis): applied Klaus' patch + * clean.mk: fixed removal of files in bin/CVS/ + * device/lib/clean.mk: fixed removal of directories small and large + * support/Util/SDCCerr.c: changed W_INT_OVL to ERROR_LEVEL_PEDANTIC 2003-10-05 Borut Razem diff --git a/clean.mk b/clean.mk index 591147a2..f1274134 100644 --- a/clean.mk +++ b/clean.mk @@ -3,7 +3,7 @@ clean: rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ - find bin -type f ! -name README -exec rm {} \; + find bin -maxdepth=1 -type f ! -name README -exec rm {} \; # Deleting all files created by configuring or building the program # ----------------------------------------------------------------- diff --git a/device/lib/clean.mk b/device/lib/clean.mk index 8d66d35f..07d1c96d 100644 --- a/device/lib/clean.mk +++ b/device/lib/clean.mk @@ -8,7 +8,7 @@ clean: rm -f *.dump* rm -rf build for model in $(MODELS); do \ - rm -rf $$model; \ + find $$model -maxdepth 1 -type f ! -name Makefile -exec rm {} \; ; \ done make -C ds390 clean make -C z80 clean diff --git a/support/Util/SDCCerr.c b/support/Util/SDCCerr.c index f7b4a282..af987ae3 100644 --- a/support/Util/SDCCerr.c +++ b/support/Util/SDCCerr.c @@ -385,7 +385,7 @@ struct "duplicate %s member '%s'" }, { E_STACK_VIOLATION, ERROR_LEVEL_ERROR, "'%s' internal stack %s" }, -{ W_INT_OVL, ERROR_LEVEL_WARNING, +{ W_INT_OVL, ERROR_LEVEL_PEDANTIC, "integer overflow in expression" }, { W_USELESS_DECL, ERROR_LEVEL_WARNING, "useless declaration (possible use of keyword as variable name)" },