HP3000-L Archives

December 1995, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Duane Percox <[log in to unmask]>
Reply To:
Duane Percox <[log in to unmask]>
Date:
Wed, 6 Dec 1995 05:56:01 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Bruce pointed out the error of my ways:
 
>You're doing something wrong: you're using a compiler/linker that's too
>smart for its own good :-). Pascal places information in the object file
>that gives the types of the variables it expects. The linker checks this;
>COBOL puts information about the minimum width acceptable. Since the two
>don't match, the link fails. However, when you use a C routine instead:
>
>      int  croutine(int p1, int p2, int p3, int p4, int p5, int p6)
>
>and then call it, the right values -- with the right alignment -- get put
>in the right places.
 
Thanks Bruce! I guess it was too much to ask for three products from the
same company for the same system to operate together cohesively and correctly!
 
Duane Percox  (QSS)
[log in to unmask] (415-306-1608, fax 415-365-2706)
http://www.aimnet.com/~qssnet/
 ftp://ftp.aimnet.com/pub/users/qssnet/
"The best way to have a good idea is to have a lot of ideas." -- Linus Pauling

ATOM RSS1 RSS2