delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/20/21:12:56

Date: Tue, 20 Sep 94 16:11:22 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: strange linker behavior
Reply-To: babcock AT cfa DOT harvard DOT edu

> int delay;
> 
> main()
> {
>   printf("%d\n",delay);
> }

Looking at the ld documentation, it appears that the linker option
-warn-common _might_ make ld warn you that it is merging the int and function
meanings of delay.  I haven't tested this yet.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019