Elm 2.3 PL11 compilation trouble

Mark Dapoz mdapoz at hybrid.UUCP
Tue Jun 4 13:30:13 AEST 1991


In article <1991Jun3.175608.3435 at bony1.bony.com> stevef at 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 at cs.toronto.edu	
		work: md at toronto.ibm.com   or  mdapoz at 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



More information about the Comp.unix.aix mailing list