Subject: Re: __used__ prevents vax GENERIC from building
To: Christos Zoulas <email@example.com>
From: Kirk Russell <firstname.lastname@example.org>
Date: 05/25/2006 17:29:43
On Wed, 24 May 2006, Christos Zoulas wrote:
> In article <Pine.NEB.email@example.com>,
> Kirk Russell <firstname.lastname@example.org> wrote:
> >I cannot build current (HEAD/200605220000Z) for the vax port.
> >The host is i386 NetBSD 3.0.
> >cc1: warnings being treated as errors
> >In file included from param.c:72:
> >config_file.h:20: warning: `__used__' attribute directive ignored
> Fixed, cvs update and rebuild config.
Still doesn't appear to build for me. I tried "#ifdef __vax__" instead
and it appears to build -- just a WAG. Thanks!
I think I have the config fix:
$ ident usr.bin/config/main.c
$NetBSD: main.c,v 1.11 2006/05/24 23:16:50 christos Exp $
And here is what config_file.h looks like:
20 static const char config
21 #ifdef vax
28 #ifdef INCLUDE_CONFIG_FILE
And the error:
cc1: warnings being treated as errors
In file included from param.c:72:
config_file.h:26: warning: `__used__' attribute directive ignored
Kirk Russell <email@example.com> http://www.ba23.org/
Bridlewood Software Testers Guild Ottawa Ontario Canada