Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure



hi,

On Fri, 18 Feb 2011 16:02:26 +0000
Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:

> On i386, I still seem to get
> 
> --- dependall-external ---
> /usr/src/sys/external/bsd/acpica/dist/compiler/../osunixxf.c:1160: warning: 
> cast
>  from pointer to integer of different size 
> 
> even after
> revision 1.2
> date: 2011/02/18 13:01:22;  author: jruoho;  state: Exp;  lines: +176 -209
> Cast pthread_self(3) to uintptr_t. ACPICA 20100915:
> 
> 
>         return (uintptr_t)(ACPI_CAST_PTHREAD_T (pthread_self()));

glancing at src, ACPI_CAST_PTHREAD_T is not defined in
sys/external/bsd/acpica/dist/include/platform/acnetbsd.h,
however, acenv.h reads aclinux.h rather than acnetbsd.h
since external/bsd/acpica/bin/iasl/Makefile defines -D_LINUX.

--
Takahiro HAYASHI



Home | Main Index | Thread Index | Old Index