From owner-freebsd-current@FreeBSD.ORG Sun Jun 8 03:06:12 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1D631065670 for ; Sun, 8 Jun 2008 03:06:12 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 33B488FC0C for ; Sun, 8 Jun 2008 03:06:12 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1306892fgb.35 for ; Sat, 07 Jun 2008 20:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=SgL8TPviwqA4La/8vsx3kEaI2uEV7j9Qivk+N+HFLAk=; b=LIYXoXeSusKV7XuJguiSXTvkmMH71p3VLGsKUoV1z0/3gJgicCznEsJdREfhZENId4 hTU8euW0dghfZwutRVZ0ILNvRcVJlpV7kdVMasqg11zcZI801U27Ll6zayiOCN512x37 X0Xf3hdRHY7dcZdk3BxunYVXWejAg6mgGymik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kk1ybtenZO5r58g5NRY/ugwdoYbCER/x+Kf4dsK/rrXCz3Vhaqo88qAx3w0MHbAriU KKaLvZtKf0rjAi25eF7uJUsdmvNpB6tgNd0Ih2DJPUzJKlLU4FpTLo4bp0GGDQLux01f wIPeSX9kZO5jVkecLbL7S8vh7b+7ZWyd6TwP8= Received: by 10.86.58.3 with SMTP id g3mr2536205fga.21.1212894370938; Sat, 07 Jun 2008 20:06:10 -0700 (PDT) Received: by 10.86.26.8 with HTTP; Sat, 7 Jun 2008 20:06:10 -0700 (PDT) Message-ID: <7d6fde3d0806072006m5d360bfay41d6f2aeeed2f929@mail.gmail.com> Date: Sat, 7 Jun 2008 20:06:10 -0700 From: "Garrett Cooper" To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Issues compiling latest -CURRENT (warning error flags + optimization level => no go) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 03:06:12 -0000 Hi all, I'm encountering a series of issues with code quality in building the latest world. I have 4 PR's filed already, but I can't seem to find a way around this issue: cc -O3 -pipe -fno-strict-aliasing -march=prescott -DEDITLINE -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.sbin/ngctl/main.c cc1: warnings being treated as errors /usr/src/usr.sbin/ngctl/main.c: In function 'main': /usr/src/usr.sbin/ngctl/main.c:325: warning: passing argument 1 of 'DoParseCommand' discards qualifiers from pointer target type *** Error code 1 Stop in /usr/src/usr.sbin/ngctl. *** Error code 1 Stop in /usr/src/usr.sbin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I've tried the usual items: changing const to non-const, changing type as fit, etc but the compile still keeps on failing. Also, I really don't need netgraph... how do I officially skip over netgraph from the compile stage? I think I can use NETGRAPH=no (not documented in the src.conf manpage), but I want to know if there's a different means. Thanks, -Garrett