[lug] help

D. Stimits stimits at idcomm.com
Tue Jun 11 16:10:24 MDT 2002

Peter Hutnick wrote:
> Hash: SHA1
> On Sunday 09 June 2002 09:57 pm, Peter Hutnick wrote:
> > Well, you declared findMax(int, int), but you never implemented it.  That
> > is perfectly valid syntacticly, but it doesn't make any sense.
> > Furthermore, as soon as you call findMax it becomes a logic error.
> >
> > When the linker tries to substitute an offset for the function it fails,
> > since there isn't any such function, and therefore no such address.
> Did anything ever come of this?  I don't think my answer was so good that it
> just put the issue to rest!
> - -Peter

It is correct. There was a declaration, but no implementation. Somewhere
the program had to actually create findMax, and not just declare it.

D. Stimits, stimits at idcomm.com

More information about the LUG mailing list