HDTenEightyP/NetNews huggingface dataset:
Followup-To: gnu.groff.bug
Newsgroups: gnu.g++.help,gnu.gcc.help,gnu.groff.bug
From: putsch@uicc.com (Jeff Putsch)
Organization: Unitrode Integrated Circuits Corp., Merrimack, NH, USA
Date: Tue, 29 Dec 1992 22:56:08 GMT
Subject: Problems building groff-1.06 with g++-2.3.3, libg++-2.3

Howdy,

I'm attempting to build groff-1.06 using g++-2.3.3,

GROFF VERSION: 1.06
MACHINE: DEC DECstation 5000/200
OS: ULTRIX 4.3
COMPILER: g++ 2.3.3
INPUT FILES: 
COMMAND LINE: make
DESCRIPTION OF INCORRECT BEHAVIOUR: error during compilation of pic/
SUGGESTED FIX [optional]: NONE

and am getting the following error during the make procedure:

gcc -O -I. -I. -I../include -I./../include -DHAVE_UNISTD_H=1 \
-DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1 \
-DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 \
-DSTDLIB_H_DECLARES_PUTENV=1 -DHAVE_MMAP=1 -DHAVE_REN AME=1 \
-DHAVE_SYS_SIGLIST=1 -DWCOREFLAG=0200 -g -c object.cc
object.cc: In method `circle_object::circle_object (double)':
object.cc:1030: Internal compiler error.
object.cc:1030: Please report this to `bug-g++@prep.ai.mit.edu'.
make[2]: *** [object.o] Error 1
make[1]: *** [pic] Error 1
make: *** [all] Error 1


Unfortunately, I don't know C++, so I have little idea of where to
start in debugging this one. Gcc-2.3.3 and libg++-2.3 built and
checked without a problem. Has anyone built groff-1.06 with g++-2.3.3?

Can anyone provide any insights as to what may be happening?

Thanks,

Jeff.




-- 
-----------------------------------------------------------------------------
Jeff Putsch                          |  Internet: putsch@uicc.com
Unitrode Integrated Circuits Corp.   |  
Merrimack, NH  USA                   |  Voice   : (US) 603-429-8626 (daytime)
Newsgroups: gnu.g++.help
Subject: Re: libg++ manuals
From: tsang@futon.SFSU.EDU (Joanna Tsang)
Date: 21 Dec 92 12:41:58 PST
Organization: San Francisco State University
Keywords: gnu,libg++,docs

In article <mckellar.724371288@stonyplain> mckellar@cs.UAlberta.CA (Neil McKellar) writes:
>Hi, one of the people here has been asking for a more recent (hopefully more
>up to date) version of the libg++ manual.  The one I have here is:
>
>    "User's Guide to GNU C++ Library"  by Doug Lea
>        last updated 7 January 1989, for Version 1.32.0
>
>[ The manual looks like the result of some well organized Postscript or TeX
>  document preparation, but it's version 1.32.0. ]
>
>This is, of course, hopelessly out of date (I just finished installing
>libg++ 2.3.2).  Is there an FTP site that keeps a current version of these
>or any other manuals?  If this is in the FAQ, just point me in the direction
>of that instead.  The README's and such that came with gcc and libg++ did not
>discuss this as far as I know.  (Maybe I didn't read them closely enough :-)
>
>Any constructive reply here or in email would be appreciated.  Thanks.
>
>                                                Neil McKellar
>                                                mckellar@cs.ualberta.ca
>
>--
>Neil McKellar (mckellar@cs.ualberta.ca)
>
>"It'th utter chaoth down here!" -- Blazing Saddles
>
Hi, netters!

	I would also like information on how to go about getting
manuals for libg++ for the current versions.

							Thanks,
							   Joanna

-- 
Joanna Tsang						tsang@futon.sfsu.edu
San Francisco State University				tsang@toaster.sfsu.edu

This mesage will self-destruct in...*BOOM!*...five seconds.
From: louqun@cs.tamu.edu (Qun Lou)
Newsgroups: gnu.g++,gnu.g++.help
Subject: Installing libg++ on HP 800 Computers (Help!)
Date: 27 Dec 1992 12:55:22 GMT
Organization: Computer Science Department, Texas A&M University
NNTP-Posting-Host: sparc31.cs.tamu.edu

I have been trying to install g++ on HP 835 but never seem able to
make it work.

gcc-2.3.2.u2 (.tar.Z from jaguar.cs.utah.edu) was installed using 
% ./configure hp835-hpux

None of libg++-2.1, libg++-2.2,  libg++-2.3 works.

Each libg++ was installed with the following command
(Bison parser had installed):

% ./configure hp835-hpux (assuming hp-pa-1.0 architecture)
% make all  (make all would say dummy.o not found and stop working. 
           I had to compile in subdirectory first.)
% make check
>>_vt.filebuf(data) not found.

Has anybody successfully installed g++ on HP 835?
I had no problem at all to install g++ on Sun workstation using
the above commands. And HP computers seem weird.
Any help or pointers would be greatly appreciated.

Qun Lou
louqun@cs.tamu.edu
From: paulo@ohmeda.com (Paul E. Ourada)
Subject: Installing g++
Organization: Ohmeda Monitoring Systems
Date: Thu, 31 Dec 1992 22:45:34 GMT

Hi -

A few months ago I made the ftp trek to mit and got g++-1.40.3 and gcc-2.2.2
and gmake - well just about everything 'cept GNU ld and GAS.  Oh, btw, 
I'm on sun4 using SonOS 4.1.1.

Well in gcc it talks about making g++ right from the gcc source and there
are likely looking files such as cp-*.c, etc.

So the question is do I *really* need g++-* or is gcc all I realy need?

Also, shoulda oughta I really go out and get GNU ld and GAS as well, or
will my sun ld work OK?


AdTHANKSvance

Paul Ourada
paulo@ohmeda.com
From: sinteur@ooc.uva.nl (John Sinteur)
Newsgroups: gnu.g++.help
Subject: templates
Keywords: template
Date: 22 Dec 92 16:51:42 GMT
Organization: ooc.uva.nl

Forwarding a question for a friend:

"what's the latest version of the gnu compiler, and does it support templates?"

mail me, and I'll forward to him...

Thanks!

-John
From: fmk10@amail.amdahl.com (Furqan Khan)
Newsgroups: gnu.g++.help
Subject: LINKING C++ WITH C/PRO*C
Date: 28 Dec 92 20:38:11 GMT
Reply-To: fmk10@amail.amdahl.com
Distribution: usa
Organization: Amdahl Corp.


I need to link some of my C++ methods with C or PRO*C. Do I need to
wrap these methods in a standard C function and declare it as extern
to use it in C or PRO*C??.

Please respond with some strategies for linking C++ with C/PRO*C (ORACLE C).

Thanks in advance.

Furqan Khan
From: jacob@informix.com (Jacob Salomon)
Newsgroups: gnu.g++,gnu.g++.help
Subject: Where can I get the most up to date version of GAS?
Date: 31 Dec 92 20:29:34 GMT
Organization: Informix Software, Inc.
Originator: jacob@cheetah

Greetings to all gnurus.

I have just downloaded g++-2.3.tar.Z and libg++-2.3.tar.Z from
directory /pub/gnu on server ftpmail@decwrl.dec.com.  (wish I had that
mail-unsplitter compiled already!!) I have had lots of grief on my
HP-9000/827 from trying to compile g++-2.2.2 and I just gave up when I
found out about 2.3.3.

Recently louqun@cs.tamu.edu (Qun Lou) posted a success story - I will
quote the relevant parts here:

|1. Before installing gcc 2.3.3, I deleted all the previous gcc stuff
|   in /usr/local/lib/gcc-lib and in /usr/local/bin.
|
|2. Necessary files for successful installation:
|
|bison  in /usr/local/bin
|gas    as emphasized in gcc 2.3.3 README, gas should be installed
|       *before* installing gcc as
|         '/usr/local/lib/gcc-lib/hp835-hpux/2.3.3/as'
|
|3. Configuration usage (same for gcc 2.3.3 and libg++-2.3):
|
|./configure hp835-hpux --gas --with-gnu-as
|/*
| * do stage1 and stage2 compiling as stated in INSTALL file
| *  and finally must do
| */
|
|make compare

Getting a directory listing of /pub/gnu I got the following
information on bison and GAS:

bison-1.19.tar.Z was created on 09/28/1992 - looks recent enough
gas-1.38.1.tar.Z was created on 01/28/1991 - nearly two years old!!

I will be downloading these in any case but I would like to know in
advance:

  - How are we expected to compile these? using our local C compiler
	(I hope) or is gcc expected to be here already?  You can see I'm
	concerned about a catch-22 situation.  (When I tried unsuccesfully
	to compile bash people were telling me "Get gcc - it'll solve all
	your problems!)

  - Is this the most recent version of GAS in the universe? If not,
    which server should I connect to to get the latest?  I do notice
	the 1.38 version number - is this tied to the version of an old
	g++ release?

Please reply be e-mail to jacob@informix.com (though I think this
might be of general enough concern to post a reply as well).

Thanks very much for any help.

		-- Jake Salomon
		jacob@informix.com
		uunet!informix.com!jacob
-- 
----------------Obligatory smart-$$$ remark:---------------------
| There's two kinds of people: Those who categorize people into |
| two groups and those who don't.   (Barth's Aging proverb.)    |
-----------------------------------------------jacob@informix.com
Newsgroups: gnu.g++.help,comp.lang.c++
From: tmb@idiap.CH (Thomas M. Breuel)
Subject: gcc (C++) 2.3.2 generates bad assembly language output (redefined 
         symbol)
Reply-To: tmb@idiap.ch
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Date: Sat, 2 Jan 1993 20:48:51 GMT

gcc -v -c foo.cc
Reading specs from /sym/gnu/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/specs
gcc version 2.3.2
 /sym/gnu/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix foo.cc /local/tmp/cca11717.i
GNU CPP version 2.3.2 (sparc)
 /sym/gnu/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/cc1plus /local/tmp/cca11717.i -quiet -dumpbase foo.cc -version -o /local/tmp/cca11717.s
GNU C++ version 2.3.2 (sparc) compiled by GNU C version 2.3.2.
 as -o foo.o /local/tmp/cca11717.s
as: "/local/tmp/cca11717.s", line 96: error: redefinition of symbol "_lookup"
gcc: foo.o: No such file or directory

== foo.cc ======================================================
#include <std.h>

template <class Y>
struct NameValuePair {
	char *name;
	Y y;
};

template <class Y>
inline Y lookup(NameValuePair<Y> *data,char *name) {
	while(data->name) {
		if(!strcmp(data->name,name)) return data->y;
		data++;
	}
	abort();
	return data->y;		// to keep GCC happy
}

template <class T>
void swap(T &x,T &y) {
	T temp = x;
	x = y;
	y = temp;
}

typedef char (*canonicalizer)(char &,float *);

NameValuePair<canonicalizer> canonicalizers[] = {
	{0,0}
};

typedef float (*extractor)(float &image,float g=2.0);

NameValuePair<extractor> extractors[] = {
	{0,0}
};

void foo() {
	canonicalizer canonicalize = lookup(canonicalizers,(char*)"foo");
	extractor extract = lookup(extractors,(char*)"bar");
}

================================================================
From: fmk10@amail.amdahl.com (Furqan Khan)
Newsgroups: gnu.g++.help
Subject: Re: Installing libg++ on HP 800 Computers (Help
Date: 28 Dec 92 20:34:35 GMT
Reply-To: fmk10@amail.amdahl.com
Distribution: usa
Organization: Amdahl Corp.


sadfgsadfasdfds
From: louqun@cs.tamu.edu (Qun Lou)
Newsgroups: gnu.g++,gnu.g++.help
Subject: Installing gcc 2.3.3 and libg++ 2.3 on HP 9000/835, a success
Date: 30 Dec 1992 04:18:13 GMT
Organization: Computer Science Department, Texas A&M University
NNTP-Posting-Host: solar.tamu.edu

Hi, again.

I finally installed gcc 2.3.3 and libg++ 2.3 successfully 
under HP 835 running hp-ux.
The problems I mentioned in my previous email disappeared.

The Dec-27 release of gcc 2.3.3 works great and seems to have included 
all the bug fixes in jaguar.cs.utah version.

I wish to share the experience with other people who
would be installing gcc or libg++ on HP or other computers.

1. Before installing gcc 2.3.3, I deleted all the previous gcc stuff in 
/usr/local/lib/gcc-lib and in /usr/local/bin.

2. Necessary files for successful installation:

bison  in /usr/local/bin
gas    as emphasized in gcc 2.3.3 README, gas should be installed *before*
       installing gcc as '/usr/local/lib/gcc-lib/hp835-hpux/2.3.3/as'

3. Configuration usage (same for gcc 2.3.3 and libg++-2.3):

./configure hp835-hpux --gas --with-gnu-as
/* 
 * do stage1 and stage2 compiling as stated in INSTALL file 
 *  and finally must do 
 */
make compare


Cheers,

Qun Lou
Dept of Computer Science
Texas A&M University
louqun@cs.tamu.edu

Newsgroups: gnu.g++.help,gnu.gcc.help
From: duperval@ERE.UMontreal.CA (Duperval Laurent)
Subject: How do I compile C++ on a Sun?
Organization: Universite de Montreal
Date: Tue, 29 Dec 1992 19:10:58 GMT

Hi there,

I was wondering, how can one compile C++ source code on a Sun when none of the
include files contains the parameters in their function prototypes?  I thought
fixincludes was supposed to take care of that but it didn't.  Worse than that,
There a few function declarations that are missing in the Suns (printf comes
to mind) which aren't automatically generated by fixincludes.  So, can anyone
fill me in on this one?  I'm trying to use gcc as an ANSI-compliant compiler
on a non-ANSI machine and it's really something of a mild headache..

Thank you for any and all information.
-- 
Laurent Duperval          | The opinions expressed herein are my own and
                          | do not represent those of this establishment
duperval@ere.umontreal.ca | That's because they don't have enough $$$
duperval@jsp.umontreal.ca | to afford them.  Noone does.
Newsgroups: gnu.g++.help
From: honglin@apmaths.uwo.ca (HONGLIN YE)
Subject: help! C++ include dirctory
Organization: Applied Mathematics, U.W.O
Distribution: na
Date: Mon, 21 Dec 1992 16:42:56 GMT


Hi, there,

 I have just installed djgpp on my computer. It works well for
 C programs. I have difficulty in runing c++ on it.

 I tried to run a toy program ex1.cc, both cpp and gcc complained
 that iostream.h file not found. I checked the installation many
 times, I think every thing should be ok. iostream.h is in directory
 cplusinc, and the cplus_include_path=c:/djgpp/cplusinc;c:/djgpp/include
 was set correctly in autoexec.bat. What can be wrong here? How to
 correct this problem?

  ------ There two differences in the readme file and readme.1st file
 about the installation.
  (1) set CPLUS_INCLUDE_PATH=c:/djgcc/cplusinc;c:/djgcc/include
      .......................................c:c:/dj...........
  (2) set TMPDIR=c:/tmp
      ....TEMP=c:/tmp
  I have tried all the possible combinations.

  Thank you.  Merry Xmas.
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.g++.announce
Subject: GCC 2.3.3 available
Date: 26 Dec 92 10:47:03 GMT
Article-I.D.: mole.gnusenet9212262047.AA04479
Followup-To: gnu@prep.ai.mit.edu
Distribution: world
To: info-gcc@prep.ai.mit.edu

You can now get 2.3.3 from pub/gnu/gcc-2.3.3.tar.Z on prep.ai.mit.edu.
Diffs from 2.3.2 in gcc-2.3.2-2.3.3.diff are 180k.

This version was made solely to fix bugs.

According to the C++ maintainers, this version when compared with
version 2.2 offers a number of fixes and enhancements to C++.  The
implementation of multiple inheritance and vtable management has been
revamped, nested types and protected baseclasses are now more
completely supported, and use of templates has been improved.  It also
fixes serious bugs relating to default arguments and to the handling
of abstract (pure) virtual functions.

Please send bug reports for C and Objective-C to:
	bug-gcc@prep.ai.mit.edu
and for C++ to:
	bug-g++@prep.ai.mit.edu

      [ Soon to be at these ftp sites as well.  Please try them
	before prep.ai.mit.edu!  thanx -gnu@prep.ai.mit.edu

	Japan: ftp.cs.titech.ac.jp, utsun.s.u-tokyo.ac.jp:ftpsync/prep
	Australia: archie.oz.au:gnu
	Europe: src.doc.ic.ac.uk:gnu, ftp.informatik.tu-muenchen.de,
	  ftp.informatik.rwth-aachen.de:pub/gnu, nic.funet.fi:pub/gnu,
	  ugle.unit.no, isy.liu.se, ftp.stacken.kth.se, ftp.win.tue.nl,
	  ftp.diku.dk, ftp.eunet.ch, archive.eu.net
	United States: wuarchive.wustl.edu, ftp.cs.widener.edu,
	  uxc.cso.uiuc.edu, col.hp.com, gatekeeper.dec.com:pub/GNU,
	  ftp.uu.net:systems/gnu

	For information on how to order GNU software on tape or
	cd-rom, check the file etc/DISTRIB in the GNU Emacs
	distribution, or e-mail a request to:	gnu@prep.ai.mit.edu
      ]
Xref: sparky gnu.g++.announce:16 comp.lang.c++:18455 comp.object:4666
From: bothner@cygnus.com
Subject: Re: libg++-2.3 strange bug
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 30 Dec 1992 10:50:32 GMT

> Just noticed a strange bug when redirecting libg++ 2.3 iostream
> output to a pipe: OUTPUT GETS LOST!

The problem is the fseek in stdiobuf::sync() (in stdiostream.C).
I'm not sure what the right fix is.  One possibility is to just
remove the call.  That isn't quite right, but it may be close enough.
Another possibilty is to do the fseek(), but ignore the result.

> just trying to figure out how to debug such a thing. ;-)

I did it by using a named pipe.

	--Per Bothner
Cygnus Support     bothner@cygnus.com

Newsgroups: gnu.g++.lib.bug
From: c$dje@watson.ibm.com (David Edelsohn)
Subject: libg++-2.3 build problems under AIX-3.2
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 21 Dec 1992 18:45:50 GMT

	First, the configuration files do not seem to have been updated
since libg++-2.2: the NOSTDINC and the HAVE_CPLUS_EXTERN Makefile flags are
not defined in the libg++/config/rs6000.mh file at all.
	AIX-3.2 fixes many of the problems requiring work-arounds in
previous versions: copysign() used by modf() is fixed in libc and
/usr/include/unistd.h has the correct prototype for write().
	libiberty/config/mh-aix should have the EXTRA_OFILES line for
copysign.o removed or commented out.  libg++/config/rs6000.mh should look
more like:

-----rs6000.mh-----
# configuration for IBM rs6000 running aix
INSTALL=cp
INSTALL_DATA = cp
G_CONFIG_ARGS =
# Use -nostdinc++ flag if your version of gcc understands it.
NOSTDINC = -nostdinc++

# Flags to pass to gen-params when building _G_config.h.
# For example: G_CONFIG_ARGS = size_t="unsigned long"
G_CONFIG_ARGS =

# If the C include files are C++-ready (with extern "C"),
# define: HAVE_CPLUS_EXTERN = 1 and: WRAP_C_INCLUDES =
# If not, define HAVE_CPLUS_EXTERN = 0, and do not define WRAP_C_INCLUDES here.
HAVE_CPLUS_EXTERN = 0

-----
	After building libg++-2.3 using gcc-2.3.2, it fails to pass its
self-tests because of problems with formatted I/O.
libg++/iostream/test/tFile fails with an abort in t11() at the assert.  The
last lines of tFile.out look like:

-----tFile.out-----

Assertion failed: count1 == 33, file  tFile.C, line 434
5.500000+6.250000 = 1.175000e+01
Previous line has12345 32 characters
Previous line has12345+36 characters

-----

	libg++-2.3 is built using "./configure rs6000-ibm-aix3.2" with the
above changes to the various config files (without the changes other errors
occur).  gcc-2.3.2 is not fully installed so the environment variables
GCC_EXEC_PREFIX, C_INCLUDE_PATH, and CPLUS_INCLUDE_PATH are set
appropriately (though that last should be ignored because of -nostdinc++).

	libg++-2.3 builds easily under SunOS-4.1.2 and passes its
self-tests without incident, but it does not seem to build correctly under
AIX-3.2 although the compilation succeeds without problem.  Are idea what's
going on?

				Thanks, David
				c$dje@watson.ibm.com
				edelsohn@sccs.syr.edu


Disclaimer: I do not speak for IBM and it does not speak for me.
===============================================================================
David Edelsohn                                      T.J. Watson Research Center
c$dje@watson.ibm.com                                P.O. Box 218
+1 914 945 3011 (Tieline 862)                       Yorktown Heights, NY 10598
"The Church doesn't have problems with sex; the world does" -- Vatican official
"A good theory should fit on a T-shirt" -- Astronomer at Jan 1992 AAS meeting


Newsgroups: gnu.g++.lib.bug
From: bothner@cygnus.com
Subject: Re: build problem: libg++.2.3
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 29 Dec 1992 13:07:32 GMT

> It seems gen-params is generating erroneous values, at least values
> incompatible with what gcc thinks are correct.

You don't specify which system you're running on, but generally
in these cases gcc is wrong (i.e. inconsistent with the system
header files).  You need to add an appropriate difinition
of the SIZE_TYPE macro in the appropriate gcc/config/*,h file.

	--Per Bothner
Cygnus Support     bothner@cygnus.com

Newsgroups: gnu.g++.lib.bug
From: bothner@cygnus.com
Subject: Re: libg++-2.3 build problems under AIX-3.2
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 25 Dec 1992 15:24:38 GMT

> Otherwise, please change the README file in libg++-2.3 to state that it
> doesn't work under AIX 3.2.

Excuse me?  I have not heard anything to make me believe libg++-2.3
does not work with AIX 3.2.  I have heard that two kludges that
were needed for AIX-3.1 are no longer needed for AIX-3.2.
That is something completely different.

	--Per Bothner
Cygnus Support     bothner@cygnus.com

Newsgroups: gnu.g++.lib.bug
From: edstrom@elmer.hsc.ucalgary.ca (John Edstrom)
Subject: build problem: libg++.2.3
Organization: Neuroscience Division, U of Calgary School of Medicine, Calgary, Alberta, Canada
Distribution: gnu
Date: Tue, 29 Dec 1992 19:46:18 GMT

It seems gen-params is generating erroneous values, at least values
incompatible with what gcc thinks are correct.  gcc is v 2.3.3 and it
built and installed without any errors or complaints.

-----------------------------------------------------------------------

gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c regex.cc
In file included from ./../g++-include/stddef.h:7, from ./../g++-include/memory.h:6, from ./../g++-include/string.h:43, from regex.cc:56:
/usr/local/lib/gcc-lib/sun4/2.3.3/include/stddef.h:152: conflicting types for `_G_size_t'
../_G_config.h:20: previous declaration of `_G_size_t'
*** Error code 1
make: Fatal error: Command failed for target `regex.o'
Current working directory /tmp_mnt/home/edstrom/ftp/gnu/libg++-2.3/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `in-src'
Current working directory /tmp_mnt/home/edstrom/ftp/gnu/libg++-2.3/libg++
*** Error code 1
make: Fatal error: Command failed for target `all-libg++'
--
 RM 2104, HSc Building,  Div. Neuroscience
 U. Calgary School of Medicine,  3330 Hospital Drive NW
 Calgary, Alberta       T2N 3Y4
 (403) 220 4493  (wk)

Newsgroups: gnu.g++.lib.bug
From: steve@jack.sns.COM (J. Steven Harrison)
Subject: Help Please!
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 2 Jan 1993 16:30:31 GMT

Hi Oh Guru's!

I saw this posted a few days ago and I am wondering did I miss the answer
or has there been none yet?

I have run across the same problem and I could sure use a little help !!

Here is the problem restated......

> ------------------------------------
> We have installed gcc-2.3.3 on Sun Sparc 1+ (SunOS4.1). When trying to install
> libg++-2.3 (configured as sparc-sun-sunos4.1), the installation failed
> with the following error message:
> 
> ------
> gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c
> AllocRing.cc
> In file included from ./../g++-include/sys/types.h:15, from
> usr/include/unistd.h:72, from ./../g++-include/unistd.h:25, from ./std.h:28,
> from AllocRing.cc:22:
> /usr/include/sys/types.h:24: Conflicting types for `wchar_t'
> ./../g++-include/stddef.h:11: Previous declaration of `wchar_t'
> *** Error code 1
> make: Fatal error: Command fails for target `AllocRing.o'
> make: Fatal error: Command fails for target `in-src'
> ------
> 
> [`wchar_t' has been declared in the standard library
> (usr/include/sys/stdtypes.h) as "unsigned short".]
> 
> Could you please shed light on this?
> 
> Thanks.
> Arun R.
> (arunr@ece.iisc.ernet.in)
> 
> ---------------------------------------

Help please!


-- 
J. Steven Harrison, PhD.	steve@jack.sns.com
45034 Imnaha Court		Voice:	(510)623-8651
Fremont, CA   94539-6669	Data:	(510)623-8652
Systems'n'Software            	FAX:	(510)623-8656 


Newsgroups: gnu.g++.lib.bug