public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: egcs@cygnus.com, toon@moene.indiv.nluug.nl
Cc: law@cygnus.com
Subject: Re:  egcs-980205 and m68-next-nextstep3: quick death
Date: Sat, 07 Feb 1998 11:58:00 -0000	[thread overview]
Message-ID: <199802071848.NAA10522@caip.rutgers.edu> (raw)

 > From: Toon Moene <toon@moene.indiv.nluug.nl>
 > 
 > In file included from cccp.c:71:
 > gansidecl.h:82: macro `bcopy' used without args
 > gansidecl.h:92: macro `bzero' used without args
 > gansidecl.h:102: macro `bcmp' used without args
 > *** Exit 1
 > 
 > HTH,
 > Toon.

	Does this patch fix your problem?

		--Kaveh


Sat Feb  7 13:49:41 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * gansidecl.h: Check for a conflicting macro definition before
        attempting to prototype bcopy, bcmp or bzero.


*** egcs-980205/gcc/gansidecl.h~	Sat Jan 31 19:48:06 1998
--- egcs-980205/gcc/gansidecl.h	Sat Feb  7 13:40:20 1998
***************
*** 77,108 ****
  
  #endif /* ! __STDC__ */
  
! #ifdef HAVE_BCOPY
! # ifdef NEED_DECLARATION_BCOPY
  void bcopy ();
! # endif
! #else
! # ifndef bcopy
  #  define bcopy(src,dst,len) memcpy ((dst),(src),(len))
  # endif
  #endif
  
! #ifdef HAVE_BZERO
! # ifdef NEED_DECLARATION_BZERO
  void bzero ();
! # endif
! #else
! # ifndef bzero
  #  define bzero(dst,len) memset ((dst),0,(len))
  # endif
  #endif
  
! #ifdef HAVE_BCMP
! # ifdef NEED_DECLARATION_BCMP
  int bcmp ();
! # endif
! #else
! # ifndef bcmp
  #  define bcmp(left,right,len) memcmp ((left),(right),(len))
  # endif
  #endif
--- 77,108 ----
  
  #endif /* ! __STDC__ */
  
! #ifndef bcopy
! # ifdef HAVE_BCOPY
! #  ifdef NEED_DECLARATION_BCOPY
  void bcopy ();
! #  endif
! # else
  #  define bcopy(src,dst,len) memcpy ((dst),(src),(len))
  # endif
  #endif
  
! #ifndef bzero
! # ifdef HAVE_BZERO
! #  ifdef NEED_DECLARATION_BZERO
  void bzero ();
! #  endif
! # else
  #  define bzero(dst,len) memset ((dst),0,(len))
  # endif
  #endif
  
! #ifndef bcmp
! # ifdef HAVE_BCMP
! #  ifdef NEED_DECLARATION_BCMP
  int bcmp ();
! #  endif
! # else
  #  define bcmp(left,right,len) memcmp ((left),(right),(len))
  # endif
  #endif
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		ICon CMT Corp.

             reply	other threads:[~1998-02-07 11:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-07 11:58 Kaveh R. Ghazi [this message]
1998-02-08  0:48 ` Jeffrey A Law
1998-02-08 12:34 ` Toon Moene
1998-02-08 13:45   ` Jeffrey A Law
  -- strict thread matches above, loose matches on Subject: below --
1998-02-06 23:44 Kaveh R. Ghazi
1998-02-07  8:25 ` Robert Lipe
1998-02-07 21:24   ` Jeffrey A Law
1998-02-06 16:53 Toon Moene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199802071848.NAA10522@caip.rutgers.edu \
    --to=ghazi@caip.rutgers.edu \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    --cc=toon@moene.indiv.nluug.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).