From owner-freebsd-ports Sat Oct 26 9:33:27 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15ED737B401 for ; Sat, 26 Oct 2002 09:33:26 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2CDE43E42 for ; Sat, 26 Oct 2002 09:33:25 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id g9QGXKeZ028476 for ; Sat, 26 Oct 2002 09:33:20 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id g9QGXK9q028475 for freebsd-ports@freebsd.org; Sat, 26 Oct 2002 09:33:20 -0700 (PDT) Date: Sat, 26 Oct 2002 09:33:20 -0700 From: Steve Kargl To: freebsd-ports@freebsd.org Subject: FILE *in = stdin problem in FreeBSD-current. Message-ID: <20021026163320.GA28436@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I trying to fix lang/wamcc on FreeBSD-current. The compile dies with ===> Building for wamcc-2.22 (cd src; make w_gcc COMPILER=wamcc INCPATH=/usr/local/include/wamcc \ LIBPATH=/usr/local/lib/wamcc CC=gcc WCC=w_gcc) `w_gcc' is up to date. (cd Builtin; make COMPILER=wamcc CC=gcc WCC=../src/w_gcc) ../src/w_gcc -O -I../src -c dec10io.c In file included from dec10io.c:14: dec10io.usr:36: initializer element is not constant dec10io.usr:38: initializer element is not constant *** Error code 1 Line 36 of dec10io.usr is "FILE *input=stdin;". stdio.h is properly included in the source where we have extern FILE *__stdinp; #define stdin __stdinp How is handled? -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message