🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #452

Re: Duplicate function names (in different .lib's)

#452
From: Ya-Gui Wei ~{QG9p~}
Date: Fri, 24 Jul 1992 00:30
17 lines
1285 bytes
In article <1992Jul17.063123.6492@grebyn.com> bittware@grebyn.com (Bittware) writes:
>I'm having a problem with duplicate function names between a commercial
>graphics library and the Borland graphics library (moveto).  

   I ran into a similar problem too. A third party utility library
I was linking contained a function with the same name as a function in
the library that came with the compiler. Worse yet, the two functions
use different pointer parameters!  The result being that when I intend
to use one and end up linking in the other, the system crashes. 

>Since I need both functions, I can't link either one first and resolve the
>conflict.

   One dirty solution would be to patch one of the libraries to change
one of the names.  I don't know of a cleaner solution.

  Ya-Gui Wei 
Technical Details
Message-ID: <1992Jul24.003009.10647@bronze.ucs.indiana.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!bronze!yawei
References: <1992Jul17.063123.6492@grebyn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!bronze!yawei
From: yawei@bronze.ucs.indiana.edu (Ya-Gui Wei ~{QG9p~})
Newsgroups: comp.os.msdos.programmer
Subject: Re: Duplicate function names (in different .lib's)
Message-ID: <1992Jul24.003009.10647@bronze.ucs.indiana.edu>
Date: 24 Jul 92 00:30:09 GMT
References: <1992Jul17.063123.6492@grebyn.com>
Organization: Indiana University
Lines: 17