Problems with compiling sources.

Bjorn Engsig bengsig at oracle.nl
Mon Oct 15 22:07:55 AEST 1990


Article <614 at dynasys.UUCP> by jessea at dynasys.UUCP (Jesse W. Asher) says:
|
|	cd src; /bin/make - all
|	cc  -O -I../hdrs    -c addr_util.c
|       45 |      *strchr(), *strcpy(), *strcat(), *strncpy();
|    1506-041: (S) Parameter list cannot contain fewer parameters than required by macro  definition.
This result from the redeclaration of in your source of strXXX() routines.
Since strcpy (and one or two more) is a macro with two arguments, you (i.e. elm)
shouldn't redeclare them.  This is totally allowed by the ANSI C standard BTW.
-- 
Bjorn Engsig,         E-mail: bengsig at oracle.com, bengsig at oracle.nl
ORACLE Corporation    From IBM: auschs!ibmaus!cs.utexas.edu!uunet!oracle!bengsig

            "Stepping in others footsteps, doesn't bring you ahead"



More information about the Comp.unix.aix mailing list