* Errors building USC rdist 6.1.0 under OSF/1 2.0
@ 1994-06-15 21:22 Paul Southworth
0 siblings, 0 replies; only message in thread
From: Paul Southworth @ 1994-06-15 21:22 UTC (permalink / raw)
Anyone had any luck building the latest USC rdist under OSF/1 2.0 on an
Alpha? Seems to be compiling nicely until...
GCC 2.5.8 says:
gcc -DOS_H=\"os-osf1.h\" -I. -I../include -I../config -c common.c -o common.o
common.c: In function `mysetlinebuf':
common.c:936: void value not ignored as it ought to be
make[2]: *** [common.o] Error 1
OSF/1 2.0's CC says:
cc -DOS_H=\"os-osf1.h\" -I. -I../include -I../config -c common.c -o common.o
/usr/lib/cmplrs/cc/cfe: Error: common.c, line 936: Type for returning
expression is incompatible with function return type
return(setlinebuf(fp));
^
make[2]: *** [common.o] Error 1
common.c shows:
/*
* Set line buffering.
*/
extern int
mysetlinebuf(fp)
FILE *fp;
{
#if SETBUF_TYPE == SETBUF_SETLINEBUF
return(setlinebuf(fp)); /* here is line 936 */
#endif /* SETBUF_SETLINEBUF */
#if SETBUF_TYPE == SETBUF_SETVBUF
return(setvbuf(stdout, NULL, _IOLBF, BUFSIZ));
#endif /* SETBUF_SETVBUF */
#if !defined(SETBUF_TYPE)
No SETBUF_TYPE is defined!
#endif /* SETBUF_TYPE */
}
--
Paul Southworth
CICNet Systems Support
pauls@cic.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-06-15 21:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-15 21:22 Errors building USC rdist 6.1.0 under OSF/1 2.0 Paul Southworth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox