From owner-freebsd-current Sat Feb 9 23:24: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from shell.dragondata.com (einsteinium.4ph.com [66.197.0.128]) by hub.freebsd.org (Postfix) with ESMTP id 03EB237B419 for ; Sat, 9 Feb 2002 23:24:04 -0800 (PST) Received: (from toasty@localhost) by shell.dragondata.com (8.11.4/8.11.3) id g1A7NtW54701 for current@freebsd.org; Sun, 10 Feb 2002 01:23:55 -0600 (CST) (envelope-from toasty) From: Kevin Day Message-Id: <200202100723.g1A7NtW54701@shell.dragondata.com> Subject: function name collision on "getcontext" with ports/editors/joe To: current@freebsd.org Date: Sun, 10 Feb 2002 01:23:54 -0600 (CST) X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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