NetBSD Problem Report #41283
From www@NetBSD.org Sat Apr 25 13:09:19 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 09D3863C20F
for <gnats-bugs@gnats.netbsd.org>; Sat, 25 Apr 2009 13:09:19 +0000 (UTC)
Message-Id: <20090425130918.D4D7463C166@www.NetBSD.org>
Date: Sat, 25 Apr 2009 13:09:18 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Missing WARNS in ofctl/Makefile
X-Send-Pr-Version: www-1.0
>Number: 41283
>Category: bin
>Synopsis: Missing WARNS in ofctl/Makefile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lukem
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 25 13:10:01 +0000 2009
>Closed-Date: Sun Apr 26 04:54:44 +0000 2009
>Last-Modified: Sun Apr 26 04:55:01 +0000 2009
>Originator: Henning Petersen
>Release: current-NetBSD
>Organization:
>Environment:
>Description:
Cross-building for a sparc64, I am missing a WARNS in Makefile.
>How-To-Repeat:
>Fix:
--- usr.sbin/ofctl/Makefile 14 Feb 2009 13:56:42 -0000 1.5
+++ usr.sbin/ofctl/Makefile 25 Apr 2009 11:07:49 -0000
@@ -3,7 +3,7 @@
.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "macppc" \
|| ${MACHINE} == "shark" || ${MACHINE_ARCH} == "sparc"
-
+WARNS?= 2
PROG= ofctl
SRCS= ofctl.c
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->lukem
Responsible-Changed-By: lukem@NetBSD.org
Responsible-Changed-When: Sun, 26 Apr 2009 04:54:44 +0000
Responsible-Changed-Why:
mine
State-Changed-From-To: open->closed
State-Changed-By: lukem@NetBSD.org
State-Changed-When: Sun, 26 Apr 2009 04:54:44 +0000
State-Changed-Why:
I have fixed the issues
From: Luke Mewburn <lukem@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41283 CVS commit: src/usr.sbin/ofctl
Date: Sun, 26 Apr 2009 04:54:27 +0000
Module Name: src
Committed By: lukem
Date: Sun Apr 26 04:54:27 UTC 2009
Modified Files:
src/usr.sbin/ofctl: ofctl.c
Log Message:
Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
Fixes PR bin/41283
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ofctl/ofctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.