From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,77653ffe51c35a24 X-Google-Attributes: gidfee84,public X-Google-Thread: 10ba33,f704b2e0101a3ae6 X-Google-Attributes: gid10ba33,public 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 Message-ID: #1/1 X-Deja-AN: 153930681 sender: holt@monet.klab.caltech.edu references: <4ktph9$o2n@odo.amherst.com> <4kubph$b90@vertex.tor.hookup.net> organization: California Institute of Technolgy reply-to: holt@klab.caltech.edu newsgroups: comp.unix.osf.osf1,gnu.g++.help 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/