Subject: Re: port-hp300/3361: "unknown keyboard type" revisited
To: None <netbsd-bugs@NetBSD.ORG>
From: Klaus Klein <kleink@layla.inka.de>
List: netbsd-bugs
Date: 03/20/1997 10:21:36
On Wed, 19 Mar 1997 20:10:42 -0500 (EST),
 der Mouse <mouse@Rodents.Montreal.QC.CA> wrote:

> > [...]  The reason for this lies in gcc/ld not handling external
> > references correctly in our case when we pull in a "char a[]" by
> > using "extern char *a"; [...]
> 
> This is not a bug in gcc or ld; writing "extern char *a" to refer to
> "char a[]" is a program bug and always has been, just as much as
> writing "extern int a" to refer to "double a" is and has been.

Of course you are right; I erroneously _thought_ I had once looked
up that such a "mixed" external reference was legal.


-klaus