From owner-freebsd-hackers Sat Apr 28 23:18:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (w250.z064001178.sjc-ca.dsl.cnc.net [64.1.178.250]) by hub.freebsd.org (Postfix) with SMTP id F402B37B423 for ; Sat, 28 Apr 2001 23:18:44 -0700 (PDT) (envelope-from josb@cncdsl.com) Received: (qmail 65839 invoked by uid 1000); 29 Apr 2001 06:18:29 -0000 Date: Sat, 28 Apr 2001 23:18:07 -0700 From: Jos Backus To: freebsd-hackers@freebsd.org Subject: Re: Port-related C++ question Message-ID: <20010428231807.G6731@lizzy.bugworks.com> Reply-To: Jos Backus Mail-Followup-To: freebsd-hackers@freebsd.org References: <20010428211752.E6731@lizzy.bugworks.com> <20010429043313.C81EF3E0B@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010429043313.C81EF3E0B@bazooka.unixfreak.org>; from dima@unixfreak.org on Sat, Apr 28, 2001 at 09:32:51PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 28, 2001 at 09:32:51PM -0700, Dima Dorfman wrote: > Jos Backus writes: > > void stdin(const Config& config); <-=== line 99 > > `stdin' is a global variable which, surprisingly enough, refers to the > standard input stream. Don't name a function after it and your > problem should go away. Yeah, I am just puzzled as to how this can build at all on other platforms (Linux?), unless they don't define this variable. Thanks, -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message