Subject: | |
From: | |
Reply To: | |
Date: | Tue, 7 Apr 1998 15:26:12 -0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
>Lane Rollins writes:
>
>>I am trying to use the HPSORTINIT intrinsic from C (MPE not POSIX) and
>>running into a problem due to C not supporting default parameter
>>substitution. Is there any way not to supply file numbers to these
>>subroutines?
>
>Are you declaring the procedures with
>
> #pragma intrinsic HPSORTINIT
>
>before using them? C is normally supposed to take care of the
>peculiarities of Pascal parameter passing. However, I've seen some
>routines where this doesn't work.
>
>-- Bruce
Yes I have the pragma setup. C doesn't allow you to leave any paramters
out of the middle fo a paramter list, off the end that's fine. SPL and
PASCAL don't have a problem, I don't know about any of the other
languages on the 3k.
If life was perfect I would like the line to look like...
hpsortinit( &sort_status,,,, sizeof(acct_info),, 1, keys );
I get the following error message if I do....
cc: "CMDLOCC.SMI.IDS", line 84: error 1615: Default parameter
specification not supported.
Thanks again, Lane
|
|
|