From owner-freebsd-current Mon Feb 11 19:45:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from newman2.bestweb.net (newman2.bestweb.net [209.94.102.67]) by hub.freebsd.org (Postfix) with ESMTP id E2AF337B41F for ; Mon, 11 Feb 2002 18:18:49 -0800 (PST) Received: from okeeffe.bestweb.net (okeefe.bestweb.net [209.94.100.110]) by newman2.bestweb.net (Postfix) with ESMTP id C121023227 for ; Mon, 11 Feb 2002 21:17:52 -0500 (EST) Received: by okeeffe.bestweb.net (Postfix, from userid 0) id 8CFEB9F13C; Mon, 11 Feb 2002 21:12:36 -0500 (EST) From: Kevin Day Subject: function name collision on "getcontext" with ports/editors/joe To: current@freebsd.org Date: Sun, 10 Feb 2002 01:23:54 -0600 (CST) Message-Id: <20020212021236.8CFEB9F13C@okeeffe.bestweb.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm the maintainer for ports/editors/joe, and just tried compiling it under -CURRENT. includes which includes ucontext.h > cc -O -pipe -c umath.c > In file included from b.h:6, > from bw.h:23, > from umath.c:5: > rc.h:41: conflicting types for `getcontext' > /usr/include/sys/ucontext.h:54: previous declaration of `getcontext' > *** Error code 1 > > Stop in /usr/ports/editors/joe/work/joe. I can rename getcontext in joe, but "getcontext" seems like a pretty common function name, I know I've used it in projects before. Not including signal.h isn't really an option either. I'm not familiar with any of the ucontext.h functions, are they complying with some kind of standard and can't be renamed or have a prefix added to it? -- Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message