[net.unix-wizards] Bug in Pascal interface to C?

Ellis.Cohen@Cmu-10a@sri-unix (10/27/82)

Date: 25 October 1982 2353-EDT (Monday)
I am trying to simulate an Addr function in Pascal, which returns the
address of the argument.  I declare Addr in Pascal as having a VAR
parameter, and then implement Addr in C as a function which simply
returns its argument.  It seems to work much of the time, but produces
bizarre results in certain circumstances.  Though I haven't really
examined the problem in detail, I can't see any obvious pattern.  Any
clues?