

Sometimes compiling with -ansi -pedantic can catch nice errors and use of gcc
extensions (GNU people like to disguise their extensions and one might end up
using them without knowing); so we add a small ifdef to Make.conf to be able
to compile with them.



---

 cur-root/Make.conf |    4 ++++
 1 files changed, 4 insertions(+)

diff -puN Make.conf~make_strict Make.conf
--- cur/Make.conf~make_strict	2004-05-04 22:33:43.000000000 -0300
+++ cur-root/Make.conf	2004-05-04 22:34:02.000000000 -0300
@@ -11,6 +11,10 @@ ifdef DEBUG
 CFLAGS += -g -pg -fprofile-arcs -ftest-coverage
 endif
 
+ifdef STRICT
+CFLAGS += -ansi -pedantic
+endif
+
 # prefix for installing the binaries
 PREFIX=/usr/local
 

_
