Newsgroups: comp.sys.apollo
Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
From: system@aurum.chem.utoronto.ca (System Admin (Mike Peterson))
Subject: C News (24-Mar-1991) with ANSI C works
Message-ID: <1991Jun28.160736.17018@alchemy.chem.utoronto.ca>
Sender: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
Organization: University of Toronto Chemistry Department
Date: Fri, 28 Jun 1991 16:07:36 GMT

I have finally got C News (24-Mar-1991 patch) running with cc 6.8
in ANSI mode. Only three changes from the previous 6.7 (non-ANSI) 
compiler:

1) in the 'build' dialog: only the 'putenv' system call is not available,
   can use '-O' as the only C compiler options (needed '-U__STDC__' before),
   can't use "fast" stdio library any more (argument type conflicts between
   ANSI C and K&R C).

2) in 'libc/datetok.c': delete 'static' from the initializations of
   'datetktbl' and 'szdatetktbl'.

3) in 'rna/defs.h': delete declaration of 'memset'

I can send my 'conf/build.def' file (which supplies the default answers
to the 'build' dialog) to anyone having problems.
-- 
Mike Peterson, System Administrator, U/Toronto Department of Chemistry
E-mail: system@alchemy.chem.utoronto.ca
Tel: (416) 978-7094                  Fax: (416) 978-8775
