Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: amd64-current error in kern_exec.c
On Fri, Aug 26, 2011 at 10:04:05AM +0100, Matthias Scheler wrote:
> > No, he didn't, he broke at least the NetBSD/i386 build. He added
> > the following check:
> >
> > #if VM_MIN_ADDRESS > 0
> > [...]
> > #endif
> >
> > "VM_MIN_ADDRESS" is define like this:
> >
> > ((vaddr_t)((0xc0000000UL/(1UL << 22)-1) << 22))
> >
> > And the C++ pre-processor cannot handle that expression.
>
> I got that bit slightly wrong while looking at the ".i" file.
> Here is the correct definition:
>
> #define VM_MIN_ADDRESS ((vaddr_t)0)
>
> The C++ pre-processor will not understand that either.
Reinoud has fixed the problem in the meantime:
http://mail-index.netbsd.org/source-changes/2011/08/26/msg026345.html
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index