X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Thu, 07 Feb 2002 21:22:34 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: tim DOT van DOT holder AT pandora DOT be Message-Id: <8996-Thu07Feb2002212233+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com, ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De In-reply-to: <1013078746.9713.25.camel@bender.falconsoft.be> (message from Tim Van Holder on 07 Feb 2002 11:45:45 +0100) Subject: Re: conflicting types for bzero (gcc303) References: <1013078746 DOT 9713 DOT 25 DOT camel AT bender DOT falconsoft DOT be> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Tim Van Holder > Date: 07 Feb 2002 11:45:45 +0100 > > > No, it will complain if you compile a program that includes string.h and > > calls bzero/bcopy, even if you don't use any -I switches. > > Really? Ah, yes, you are right: I forgot the ``system headers'' trick of GCC. Sorry. But gettext is not the only package that includes the system include directory explicitly. Readline is another (and so GDB is affected too, and probably so is Bash). > > We should fix this. > > I wasn't saying we don't need to fix it in our headers. > I was merely saying that the specific case reported by Juan Manuel could > be solved by editing the Makefile or by using specific options for > configure. It would be nice if people who port packages won't have to use such kludgey solutions. For GDB, I simply ignored the warning, but I don't like that. More importantly, the more serious problem is that programs compiled with and without -fno-builtin might behave differently. That kind of subtle differences could cost someone many hours of futile debugging.