* clean.mk: fixed removal of files in bin/CVS/
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 5 Oct 2003 19:46:47 +0000 (19:46 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 5 Oct 2003 19:46:47 +0000 (19:46 +0000)
* 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

ChangeLog
clean.mk
device/lib/clean.mk
support/Util/SDCCerr.c

index b8968b16bccd0ee9c1e69aee22e45275d012f0b8..2120cf3bd1e43f17b505ded728386fc28a31800b 100644 (file)
--- 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 <borut.razem@siol.net>
 
index 591147a2cb6e214a8db83d4c1b4adce254fedb80..f12741344a18d5bedd7500a07eacbc1c3f2968ce 100644 (file)
--- 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
 # -----------------------------------------------------------------
index 8d66d35f96d6d42efe8562ff986a04c1932a154c..07d1c96d51e824ad700f982afcd6eadf184ebe4a 100644 (file)
@@ -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
index f7b4a282968f6e76fa2806ddf851d7a0d74b34fd..af987ae31b3eed4f67f67bdd3239f61e1331dd99 100644 (file)
@@ -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)" },