From owner-freebsd-i386@FreeBSD.ORG Tue Apr 13 09:10:20 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 338BE16A4CF for ; Tue, 13 Apr 2004 09:10:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 264E343D39 for ; Tue, 13 Apr 2004 09:10:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3DGAJbv038377 for ; Tue, 13 Apr 2004 09:10:20 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3DGAJjc038376; Tue, 13 Apr 2004 09:10:19 -0700 (PDT) (envelope-from gnats) Resent-Date: Tue, 13 Apr 2004 09:10:19 -0700 (PDT) Resent-Message-Id: <200404131610.i3DGAJjc038376@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pawel Worach Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B930E16A4CE for ; Tue, 13 Apr 2004 09:07:24 -0700 (PDT) Received: from av7-1-sn4.m-sp.skanova.net (av7-1-sn4.m-sp.skanova.net [81.228.10.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F99343D54 for ; Tue, 13 Apr 2004 09:07:24 -0700 (PDT) (envelope-from sajd@telia.com) Received: by av7-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id 928D437E89; Tue, 13 Apr 2004 18:07:23 +0200 (CEST) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av7-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 811F737E46 for ; Tue, 13 Apr 2004 18:07:23 +0200 (CEST) Received: from h204n2fls35o895.telia.com (h204n2fls35o895.telia.com [217.211.109.204]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 6112637E6D for ; Tue, 13 Apr 2004 18:07:23 +0200 (CEST) Received: from lucifer.sed1.root4.net (localhost [127.0.0.1]) i3DG7N4G003293 for ; Tue, 13 Apr 2004 18:07:23 +0200 (MEST) (envelope-from root@lucifer.sed1.root4.net) Received: (from root@localhost) by lucifer.sed1.root4.net (8.12.11/8.12.11/Submit) id i3DG7MuC003292; Tue, 13 Apr 2004 18:07:22 +0200 (MEST) (envelope-from root) Message-Id: <200404131607.i3DG7MuC003292@lucifer.sed1.root4.net> Date: Tue, 13 Apr 2004 18:07:22 +0200 (MEST) From: Pawel Worach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/65493: [patch] make sys/boot/{i386,pc98}/lib{i386,pc98}/biosdisk.c compile with gcc 3.4 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pawel Worach List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 16:10:20 -0000 >Number: 65493 >Category: i386 >Synopsis: [patch] make sys/boot/{i386,pc98}/lib{i386,pc98}/biosdisk.c compile with gcc 3.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 13 09:10:19 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Pawel Worach >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.2-CURRENT #0: Fri Apr 9 05:08:50 MEST 2004 >Description: sys/boot/{i386,pc98}/lib{i386,pc98}/biosdisk.c does not compile with gcc 3.4. error: label at end of compound statement >How-To-Repeat: cd sys/boot/i386/libi386 && make obj && make CC="mygcc34" >Fix: add break after empty default: labels --- patch begins here --- Index: sys/boot/i386/libi386/biosdisk.c =================================================================== RCS file: /export/ctm/cvs/src/sys/boot/i386/libi386/biosdisk.c,v retrieving revision 1.41 diff -u -r1.41 biosdisk.c --- sys/boot/i386/libi386/biosdisk.c 21 Jan 2004 23:22:29 -0000 1.41 +++ sys/boot/i386/libi386/biosdisk.c 13 Apr 2004 15:52:06 -0000 @@ -833,6 +833,7 @@ return (0); default: /* DO NOTHING */ + break; } return EROFS; Index: sys/boot/pc98/libpc98/biosdisk.c =================================================================== RCS file: /export/ctm/cvs/src/sys/boot/pc98/libpc98/biosdisk.c,v retrieving revision 1.25 diff -u -r1.25 biosdisk.c --- sys/boot/pc98/libpc98/biosdisk.c 8 Sep 2003 09:11:20 -0000 1.25 +++ sys/boot/pc98/libpc98/biosdisk.c 13 Apr 2004 15:52:11 -0000 @@ -343,6 +343,7 @@ line, verbose); break; default: + break; } } #else @@ -988,6 +989,7 @@ return (0); default: /* DO NOTHING */ + break; } return EROFS; --- patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: