Date: Sun, 13 Aug 2000 21:24:24 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: snowball3 AT bigfoot DOT com Message-Id: <2110-Sun13Aug2000212423+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: djgpp AT delorie DOT com In-reply-to: (snowball3 AT bigfoot DOT com) Subject: Re: Linker warning References: <3992D37A DOT D0274FA6 AT ma DOT tum DOT de> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I saw today a similar warning: c:/usr/djgpp/bin/ld.exe: Warning: type of symbol `_menu_bar_items' \ changed from 4 to 36 in keyboard.o (this was a single long line). This happens when building Emacs. It looks like this warning is triggered by the name menu_bar_items being used for a struct member and a function: struct frame { ... Lisp_Object menu_bar_items; ... }; Lisp_Object menu_bar_items (old) Lisp_Object old; { ... According to the ChangeLog, this code has been like that for a long time, the only thing that's changed is that I installed Binutils 2.10 a day or two ago. Since struct members and functions are in separate namespaces in C, I wonder why does the linker bother to issue a warning? Does that mean that I have a real clash on my hands?