X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f Date: Sun, 27 Jan 2002 13:41:57 -0600 From: JT Williams To: djgpp-workers AT delorie DOT com Cc: Eli Zaretskii , Charles W Sandmann Subject: Re: GCC 3.x and bcopy Message-ID: <20020127134157.A2746@kendall.sfbr.org> Mail-Followup-To: djgpp-workers AT delorie DOT com, Eli Zaretskii , Charles W Sandmann References: <10201271804 DOT AA18350 AT clio DOT rice DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <10201271804.AA18350@clio.rice.edu>; from sandmann@clio.rice.edu on Sun, Jan 27, 2002 at 12:04:12PM -0600 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 -: Could we - should we? - create an ifdef in string.h for the bcopy prototype? -: This would break building the 2.03 library with GCC 3.x but would retain -: current 2.03 behavior for old programs under GCC 2.x. Don't know if this will help in resolving the issue, but recently I encountered a problem with bcopy when compiling GNU termcap-1.3 under djgpp; in termcap.c you'll find: /* Do this after the include, in case string.h prototypes bcopy. */ #if (defined(HAVE_STRING_H) || defined(STDC_HEADERS)) && !defined(bcopy) #define bcopy(s, d, n) memcpy ((d), (s), (n)) #endif and after doing the same thing in tparam.c the package compiled fine.