Newsgroups: news.software.b
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!stealth
From: stealth@engin.umich.edu (Mike Pelletier)
Subject: Problem compiling latest C-news under Ultrix 4.1
Message-ID: <1991Apr3.173459.3081@engin.umich.edu>
Sender: news@engin.umich.edu (CAEN Netnews)
Organization: University of Michigan Engineering, Ann Arbor
Date: Wed, 3 Apr 1991 17:34:59 GMT

Having set up the software to use the fast stdio routines, I get the following
error when it attempts to compile them:

/bin/cc '-DPTR_TYPE=unsigned char *' -O -s -c rdwr.c
ccom: Error: rdwr.c, line 20: redeclaration of fread
      int
      fread(ptr, size, count, fp)
      char *ptr;
      ---^
ccom: Error: rdwr.c, line 70: redeclaration of fwrite
      int
      fwrite(ptr, size, count, fp)
      char *ptr;
      ---^
*** Error code 1

Stop.
+ exit 1

Is there any way I can coax the C compiler to accept these new
versions of stdio routines?  Considering the speedup they provide,
I would like to use them if at all possible.
