T.R | Title | User | Personal Name | Date | Lines |
---|
5326.1 | | LASSIE::GEMIGNANI | | Tue Mar 11 1997 13:28 | 20 |
|
Well, I don't to make any such claim, either.
It looks like when you cascaded the declarations, RPCGEN didn't notice
that it was already done.
When RPCGEN handles the typedef, it apparently has to perform the
expansion of the dependency in order to resolve it.
You used a previous typedef for yet another typedef, and RPCGEN
apparently doesn't catch multiple typedefs of this variety.
This sort of thing is best solved by `#define KRB krB', so that
there would only be ONE typedef.
I'm not trying to get out of this ***BUT*** this code is derived from
DIGITAL UNIX, which is derived from SUN's ONC and it is not UCX
original code. This problem would therefore exist on all three systems
and, I would surmise, any system which uses the ONC reference set
in their product.
|
5326.2 | And? | CSC32::J_HENSON | Don't get even, get ahead! | Wed Mar 12 1997 09:56 | 21 |
| >> <<< Note 5326.1 by LASSIE::GEMIGNANI >>>
>> I'm not trying to get out of this ***BUT*** this code is derived from
>> DIGITAL UNIX, which is derived from SUN's ONC and it is not UCX
>> original code. This problem would therefore exist on all three systems
>> and, I would surmise, any system which uses the ONC reference set
>> in their product.
Yes, this code is from Unix. In fact, this and another rpcgen
issue which I posted earlier (the #pragma issue) is from the same customer
who is porting rpc code from Unix to OpenVMS, so I suspect he will be
reporting other such anomalies.
What is our official position on this? Is it a bug in rpgcgen, or has the
use violated some standard with the way in which his code is written. I
have to tell him something.
Thanks,
Jerry
|
5326.3 | | LASSIE::GEMIGNANI | | Thu Mar 13 1997 18:08 | 10 |
|
I gather from your mail that this customer sees the same thing on his
Unix systems. If so, then the portability issues require that he
adheres to whatever works; if I fix it here it will be broken somewhere
else.
The #pragma issue is strictly VMS related (it's not a portablility issue,
I surmise?) so he should be accomodating the DECC compiler.
Is this reasonable?
|
5326.4 | | LASSIE::GEMIGNANI | | Thu Mar 13 1997 18:26 | 8 |
| I re-read this issue, then decided to bring (i.e. test) this code out on
DIGITAL UNIX. It produces the same result.
Does the customer see this problem on *his* systems?
The UCX and DIGITAL UNIX code are based on the code from Sun
Microsystems, so I would expect other system's code to exhibit
the similar behavior if they are also Sun-based.
|