Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!hybrid!mdapoz
From: mdapoz@hybrid.UUCP (Mark Dapoz)
Subject: Re: Elm 2.3 PL11 compilation trouble
Message-ID: <1991Jun4.033013.18281@hybrid.UUCP>
Organization: The Home for Unemployed Basselopes, Toronto, Ontario, Canada
References: <1991Jun3.175608.3435@bony1.bony.com>
Date: Tue, 4 Jun 1991 03:30:13 GMT

In article <1991Jun3.175608.3435@bony1.bony.com> stevef@bony1.bony.com (Steve Faiwiszewski) writes:
>I've seen messages on comp.unix.aix from People saying they had no
>problems compiling Elm on the RS/6000.  Yet, I had to comment out all
>declarations of string functions (e.g. strcpy, strchr, etc.), or else
>the compiler would generate the error:
>
>1506-041: (S) Parameter list cannot contain fewer parameters than
>required by macro definition.
>
>I was building Elm 2.3 PL11.  Am I doing anything wrong?

Compile using the following flags:

	-D_NO_PROTO -D_NONSTD_TYPES -U_ANSI_C_SOURCE -U__STR__

thats works for PL10, no code modifications are necessary.  The -U__STR__ is
the improtant one for the string(3) declarations.
-- 
Mark Dapoz	home: mdapoz%hybrid@cs.toronto.edu	
		work: md@toronto.ibm.com   or  mdapoz@torvm3.vnet.ibm.com
Finger and toes, finger and toes, forty things we share, forty one if you
include the fact that we don't care.  - The Tragically Hip
