Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: netbsd-11 kernel build failure
Martin Husemann writes:
> On Thu, Jan 08, 2026 at 11:16:51AM -0000, Michael van Elst wrote:
> > hauke%Espresso.Rhein-Neckar.DE@localhost (Hauke Fath) writes:
> >
> > >/u/sources/netbsd-11/src/sys/dev/acpi/pckbc_acpi.c:242:22: error:=20
> > >'handle' may be used uninitialized [-Werror=3Dmaybe-uninitialized]
> >
> >
> > >I guess 'handle' should be initialized (with what?).
> >
> >
> > It gets initialized, the compiler is just not smart enough to see it.
> > Initializing it to ((ACPI_HANDLE)0) to set an invalid value is ok.
>
> Why doesn't this happen on the official builds?
using -O3 can do this. Hauke, are you using any other special
compiler flags by chance?
.mrg.
Home |
Main Index |
Thread Index |
Old Index