From owner-freebsd-current Mon Jun 11 11:26:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id B4CC737B408 for ; Mon, 11 Jun 2001 11:26:31 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f5BIQSi45624 for current@FreeBSD.org; Mon, 11 Jun 2001 21:26:28 +0300 (EEST) (envelope-from ru) Date: Mon, 11 Jun 2001 21:26:28 +0300 From: Ruslan Ermilov To: current@FreeBSD.org Subject: ** HEADS UP **: -nostdinc -Wfoo ==> -DNO_WERROR is temporarily the default for `buildworld' Message-ID: <20010611212628.A37954@sunbay.com> Mail-Followup-To: current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! -DNO_WERROR (which effectively disables the -Werror) is temporarily the default for `buildworld' because restored -nostdinc bit affects the gcc(1) warning produced for /usr/include headers. (See Makefile.inc1,v 1.203.) For example, if run with -nostdinc, bin/chmod bombs with the following: : Warning: Object directory not changed from original /home/ru/1/chmod : cc -O -pipe -nostdinc -I/usr/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c chmod.c : cc1: warnings being treated as errors : In file included from chmod.c:53: : /usr/include/fts.h:48: warning: function declaration isn't a prototype : *** Error code 1 : : Stop in /home/ru/1/chmod. While this is definitely a problem in fts.h, which is fixed with the attached patch, it is unclear why this warning is hidden after the -nostdinc. PLEASE DON'T FIX THE HEADERS UNTIL WE FIGURE OUT WHY THIS IS HIDDEN AFTER -nostdinc. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message