Close but does not quite fit the OP's situation (as I read it).

OTOH, if the compiler only supports 'n' arguments to a function, I would 
*expect* to get the error on the prototype declaration, not on an invocation.

I like @Peter's advice: don't do that! 

> One hopes that such a thing is program-generated, and not coded by some hard 
> working programmer.

Get a new program!

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Mike Schwab
Sent: Friday, August 12, 2016 2:15 PM
To: [email protected]
Subject: Re: C/C++ maximum number of arguments on a function prototype

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.cbcdg01/msg-CCN3099.htm

CCN3099
Unexpected argument.

Explanation

The function call contains more arguments than specified in the parameter list 
of the function prototype.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to