Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: norbert@gia.rwth-aachen.de (Norbert Berzen)
Subject: OSF/1 3.2D --- g++-2.7.2 --- libg++-2.7.1
Date: 1996/02/20	[thread overview]
Message-ID: <norbert.824829561@dune.gia.rwth-aachen.de> (raw)

Hello DEC Unix users,

a few days ago I upgraded my DEC3000/400 from OSF-1.2
to DEC-Unix-3.2(D). When having finished the upgrade
I installed gcc-2.7.2 along with libg++-2.7.1.

To my surprise the compilation of the following program ...

	#include <iostream.h>

	void
	main ()
	{
	  cout << "hello world" << endl;
	}

... and compiling it with ...

	g++ -o hello hello.cc

... produced the following output:

/usr/ucb/ld:
Warning: Linking some objects which contain exception information sections
	and some which do not. This may cause fatal runtime exception handling
	problems (last obj encountered without exceptions was /usr/local/lib/libstdc++.a).
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC

... but the executable `hello' just works fine!

I do know the cause of the second warning (clog ...):
It's because there are two symbols with identical names
"clog" defined;

1st) The "clog" instance of class `ostream_withassign'
     which is defined in the C++ iostream library as GLOBAL DATA.
2nd) The "clog" complex logarithm function,
     which is defined in the math library as GLOBAL FUNC.

And now, here are my questions (concerning the first warning):

1) Does anyone of you know the cause of the 1st warning?

2) Did I do something wrong when bootstrapping/installing gcc/libg++?

3) What can I do to make the things work right?

Many thanks in advance

Norbert





--
Norbert [norbert@dune.gia.rwth-aachen.de  (134.130.159.38)]

N. Berzen, Geod. Inst. der RWTH-Aachen, Templergraben 55, 52056 Aachen



             reply	other threads:[~1996-02-20  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-20  5:00 Norbert Berzen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-02-27  5:00 OSF/1 3.2D --- g++-2.7.2 --- libg++-2.7.1 Norbert Berzen
1996-02-28  5:00 ` John C. Fowler
     [not found]   ` <norbert.825586806@dune.gia.rwth-aachen.de>
1996-03-01  5: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