Subject: Re: Stock i386 kernels with GCC4 (patches included)
To: None <>
From: Sergey Lungu <>
List: current-users
Date: 06/03/2006 03:26:53
On Tue, May 30, 2006 at 12:46:00AM +0400, Sergey Lungu wrote:
> I've been compiling stock -current i386 kernels using GCC4 with -O3
> today. The following are patches I've made to fix issues caught by GCC4.
> - `i4b_capi.h.diff' fixes:
> /home/sebl/netbsd/src/sys/netisdn/i4b_capi_l4if.c:60: error: static
> declaration of 'ncapi' follows non-static declaration
> /home/sebl/netbsd/src/sys/netisdn/i4b_capi.h:110: error: previous
> declaration of 'ncapi' was here
> I've simply removed extern declaration of `ncapi' from `i4b_capi.h',
> 'cause it is used in `i4b_capi_l4if.c' only.
> [...]

Except this one, all those warnings rise with -O3 only, so the fix of
this issue is essential (try to compile GENERIC_ISDN with GCC4), as
for those -O3 specific - I can live with -O2! :)

Sergey Lungu