From nobody@www.freebsd.org  Fri Jun 21 15:33:32 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 6DED537B40E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jun 2002 15:33:32 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5LMXWhG067646
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jun 2002 15:33:32 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5LMXW8C067645;
	Fri, 21 Jun 2002 15:33:32 -0700 (PDT)
Message-Id: <200206212233.g5LMXW8C067645@www.freebsd.org>
Date: Fri, 21 Jun 2002 15:33:32 -0700 (PDT)
From: "Robert N. Saft" <zardoz@vampyre.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Errors reported in schistory.c in syscons kernel component
X-Send-Pr-Version: www-1.0

>Number:         39633
>Category:       i386
>Synopsis:       Errors reported in schistory.c in syscons kernel component
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 15:40:01 PDT 2002
>Closed-Date:    Fri Sep 03 02:24:50 GMT 2004
>Last-Modified:  Fri Sep 03 02:24:50 GMT 2004
>Originator:     Robert N. Saft
>Release:        -current
>Organization:
>Environment:
FreeBSD freya 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Jun  9 14:46:29 PDT 2002
   root@freya:/usr/src/sys/i386/compile/freya5  i386
>Description:
      When compiling the kernel, the following errors are reported.
This is even after numerous source code updates.
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -\
Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wno-format -ansi  -n\
ostdinc -I-  -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../.\
./../contrib/ipfilter -I../../../../include  -D_KERNEL -include opt_global.h -f\
no-common   -mpreferred-stack-boundary=2 -ffreestanding -Werror  ../../../dev/s\
yscons/schistory.c
../../../dev/syscons/schistory.c: In function `sc_alloc_history_buffer':^M
../../../dev/syscons/schistory.c:127: void value not ignored as it ought to be^\
M
../../../dev/syscons/schistory.c:127: syntax error before ')' token^M
../../../dev/syscons/schistory.c: In function `sc_hist_ioctl':^M
../../../dev/syscons/schistory.c:306: void value not ignored as it ought to be^\

../../../dev/syscons/schistory.c:306: syntax error before ')' token
*** Error code 1
Stop in /usr/src/sys/i386/compile/freya5.

>How-To-Repeat:
     Compiling a -current kernel with this file

>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Sep 3 02:23:55 GMT 2004 
State-Changed-Why:  
Close PR about a 2-year-old compile error. 

Kernel compile errors, unlike most other errors, should be reported on 
-current rather than opening a PR: they are generally quickly fixed 
because they affect so many people. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39633 
>Unformatted:
