Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 09:33:20 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   FILE *in = stdin problem in FreeBSD-current.
Message-ID:  <20021026163320.GA28436@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026163320.GA28436>