From owner-freebsd-ports@freebsd.org Fri Oct 2 07:06:34 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3CF493F9170 for ; Fri, 2 Oct 2020 07:06:34 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from viclamta34p.bpe.bigpond.com (viclamta34p.bpe.bigpond.com [203.38.21.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C2gyb0gY3z4HDY for ; Fri, 2 Oct 2020 07:06:30 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from smtp.telstra.com ([10.10.26.4]) by viclafep34p-svc.bpe.nexus.telstra.com.au with ESMTP id <20201002070624.HGQV9964.viclafep34p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Fri, 2 Oct 2020 17:06:24 +1000 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedujedrfeehgdduudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuffpveftpgfvgffnuffvtfetpdfqfgfvnecuuegrihhlohhuthemucegtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvufgjkfhffgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekieetjeeuuefhfeeguedvudeifeevudfgvedtffekhfffjeekhfdutdetheethfenucfkphepuddutddrudeguddrudelfedrvdeffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegrnhgvuhhrihhnrdhhohhrshhfrghllhdrohhrghdpihhnvghtpeduuddtrddugedurdduleefrddvfeefpdhmrghilhhfrhhomhepoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqedprhgtphhtthhopeeofhhrvggvsghsugdqphhorhhtshesfhhrvggvsghsugdrohhrgheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.420) id 5F73AC29007BD463 for freebsd-ports@freebsd.org; Fri, 2 Oct 2020 17:06:24 +1000 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 09276Lsi066787 for ; Fri, 2 Oct 2020 17:06:21 +1000 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 09276LBl066784 for ; Fri, 2 Oct 2020 17:06:21 +1000 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Fri, 2 Oct 2020 17:06:21 +1000 (EST) From: Dave Horsfall To: FreeBSD Ports Subject: Re: Patch compiler warnings away? In-Reply-To: <20201001211149.uhdi4w6xstjv4iw3@t470.schmi.tt> Message-ID: References: <20201001211149.uhdi4w6xstjv4iw3@t470.schmi.tt> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4C2gyb0gY3z4HDY X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dave@horsfall.org has no SPF policy when checking 203.38.21.98) smtp.mailfrom=dave@horsfall.org X-Spamd-Result: default: False [1.49 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.21)[-0.209]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.28)[-0.281]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; HAS_XAW(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[horsfall.org]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.18)[0.185]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1221, ipnet:203.36.0.0/14, country:AU]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_IN_DNSWL_LOW(-0.10)[203.38.21.98:from] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2020 07:06:34 -0000 On Thu, 1 Oct 2020, Moritz Schmitt wrote: > I recently took over my first maintainership of a port and I have a > question regarding on how to deal with compiler warnings. I've always treated warnings as potential errors, and act accordingly. One place I worked insisted that "-Wall" produce no messages, and my own Perl stuff has "use strict". -- Dave