David FOXWELL wrote:
If there were two different functions with identical names and (god
forbid) identical parameters and the compile command stated to ignore
duplicate name errors, would binding occur? Has anyone tried?


The binder doesn't care about the number of type of the parameters. It only cares about the names.

Let's say you have a function named SOMEFUNCTION in MOD1 and MOD2. PGMA wants the one in MOD1 and PGMB wants the one in MOD2. If both PGMA and PGMB use the same binding directory containing both MOD1 and MOD2, it's a _guarantee_ that one of them will get the wrong version of SOMEFUNCTION.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.