🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #621

libg++ make fails -- new

#621
From: CusterDD
Date: Mon, 14 Dec 1992 04:18
61 lines
2009 bytes
First, thanks to all those who responded to my first plea.
Removing th -g got past the previous problem.  Now I have a new one.

Machine: 386/25 clone

OS: ESIX System V/386 Release 4.0 Version 4 

X: X11R4, Motif

Compiler: gcc 2.3.2

Make: gnu make 

c++ Experience: not very much  (I do device drivers for a living-this is play)

Procedure:

cd to gnu/libg++-2.2
gmake -w all
{ losts of stuff removed.  no errors, some warnings about casting void* }

gmake[2] Entering directory gnu/libg++-2.2/libg++/src

{ stuff deleted, no errors }

gcc -nostdinc++ -I.. -I. -I./../iostram -I./../g++-include -c String.cc
In file included from ./../iostream/iostream.h:25,
from ./../iostream/stream.h:7, from ./String.h:27, from String.cc:215:
../..iostream/streambuf.h:359: warning type specified omitted for parameter
./../iostream./streambuf.h:259:: parse error before `)'
../..iostream/streambuf.h:360: warning type specified omitted for parameter
./../iostream./streambuf.h:260:: parse error before `)'

{ similar diagnostics for iostream.h:60, iostream.h 152, iostream.h 225
  iostream.h 247 followed by}

./../iostream/iostream.h:226: `format' undeclared (first use this function)

{ and similar complaints in iostream.h:248 regarding format and args }
gmake[2] *** [String.o] Error 1
...

All the complaints have in common _G_va_list

I found

#define _G_va_list __gnuc_va_list

in config.h.  In the hopes that somehow config.h wasn't being included,
I manually made the substition at one place in streambuf.h:359

Results: the same.


Anyone have a cure?

Thanks in advance

Dave Custer
AT&T Bell Labs
ddc@druwa.att.com
Technical Details
Message-ID: <22845@drutx.ATT.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!drutx!druwa!ddc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!drutx!druwa!ddc
From: ddc@druwa.ATT.COM (CusterDD)
Newsgroups: gnu.g++.help,gnu.g++
Subject: libg++ make fails -- new
Keywords: libg
Message-ID: <22845@drutx.ATT.COM>
Date: 14 Dec 92 04:18:23 GMT
Sender: news@drutx.ATT.COM
Lines: 62