From: holt@monet.klab.caltech.edu (Gary Holt)
Subject: Re: gcc 2.7.2, ld warnings on Digital UNIX v3.2
Date: 1996/05/09 [thread overview]
Message-ID: <kkrasthd4u.fsf@monet.klab.caltech.edu> (raw)
In-Reply-To: 4kubph$b90@vertex.tor.hookup.net
In article <4mopm2$tvo@valhalla.cs.wright.edu> pedwards@valhalla.cs.wright.edu (Phil Edwards) writes:
I'm /this/ close to writing a dammit_i_never_asked_for_libm++
script, which calls g++, grabs the output, and greps out the two
clog-conflict lines, passing the rest onwards. :-|
What's the problem with removing clog from libg++ when you compile on the DEC
alpha? I got fed up myself and just changed libg++. It's a trivial patch to
make; you just have to modify two lines of source code. (I forget where; just
search through the .h and .c and .cc files for clog.)
If you really need to use clog in libg++, you could add the following line to
the appropriate include file in libg++:
#define clog clog_private
(You might also have to mess around with some of the other #defines, because I
think there's a #undef clog or something like that.) This would allow you to
use 'clog' in your C++ code, but when you link it would be called clog_private
and would not conflict with clog in libm.
--
Gary Holt (818)-395-2882
holt@klab.caltech.edu http://www.klab.caltech.edu/~holt/
next prev parent reply other threads:[~1996-05-09 4:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-15 4:00 gcc 2.7.2, ld warnings on Digital UNIX v3.2 Carm Frascatore
1996-04-15 4:00 ` Murray S. Kucherawy
1996-04-17 4:00 ` Allen M. Cohen
1996-04-17 4:00 ` Norbert Berzen
1996-04-25 4:00 ` Radenko Kalajdzic
1996-05-01 4:00 ` Phil Edwards
1996-04-18 4:00 ` Tim Lucia
1996-05-01 4:00 ` Daniel S. Riley
1996-05-01 4:00 ` Dale Hagglund
1996-05-08 4:00 ` Phil Edwards
1996-05-08 4:00 ` Jason Merrill
1996-05-09 4:00 ` Gary Holt [this message]
1996-04-18 4:00 ` John C. Fowler
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox