From owner-freebsd-ports Tue Jan 25 11:40:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (Postfix) with ESMTP id AB0BA1528A for ; Tue, 25 Jan 2000 11:40:17 -0800 (PST) (envelope-from dirk.meyer@dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id UAA07597 for freebsd-ports@FreeBSD.ORG; Tue, 25 Jan 2000 20:40:15 +0100 (CET) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.9.3/8.9.3) with BSMTP id SAA18619 for ; Tue, 25 Jan 2000 18:55:03 +0100 (CET) To: freebsd-ports@FreeBSD.ORG Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: 4.0-release (ports) schedule Date: Tue, 25 Jan 2000 18:50:03 +0100 X-Mailer: Dinoex 1.74 References: <20000124205021.B24975@cichlids.cichlids.com> <200001241436.GAA23651@silvia.hip.berkeley.edu> <20000124103710.B75151@dragon.nuxi.com> <20000124205021.B24975@cichlids.cichlids.com> <20000125005644.A221@extremis.demon.co.uk> X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect 0.89] X-Accept-Language: de,en X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Copyright: (C) Copyright 1999 by Dirk Meyer -- All rights reserved. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-ZC-VIA: 20000125000000W+1@dinoex.sub.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org George Cox schrieb:, > Ports with such sloppy code should be patched as part of the port process, > or better, have the original authors ass WHUPPED and have them be taught > the virtues of using the compiler flags > > '-Wall -Wa-few-other-things-documented-in-the-man-page' > > on _every_ _source_ _file_ _they_ _compile_. > > End rant. Right ... you will wonder how the software ever could run with all the bugs present. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany ============= dnl dnl Copyright 1999-2000 Dirk Meyer dnl feel free to include this in your "configure.in" dnl with this notice present. dbl dnl you need autoconf to generate a full configure script. dnl dnl This lines turns on some warnings to see conficts in your code. dnl It is checked that your compiler let you do this. dnl gcc_warn=" -W -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wconversion -Wenum-clash -Werror-implicit-function-declaration -Wformat -Wid-clash-30 -Wimplicit -Wimplicit-function-delcaration -Wimplicit-int -Winline -Wlong-long -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-import -Wno-parentheses -Woverloaded-virtual -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtraditional -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings -pedantic " gcc_warn_ok="" if test $ac_cv_prog_gcc = yes; then for i in $gcc_warn do echo $ac_n "checking whether ${CC-cc} accepts $i""... $ac_c" 1>&6 echo 'void f(){}' > conftest.c if test -z "`${CC-cc} ${CFLAGS} $i -c conftest.c 2>&1`"; then gcc_warn_ok="$gcc_warn_ok $i" echo "yes" else echo "no" fi rm -fr conftest* done fi echo "$gcc_warn_ok" if test "$GCC" = yes; then CFLAGS="$CFLAGS $gcc_warn_ok" fi dnl end of section To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message