*BSD News Article 99507


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!EU.net!sun4nl!sun4nl!oce.nl!not-for-mail!not-for-mail
From: jos@oce.nl (Jos Backus)
Subject: Re: 2.2.2 Make world
X-Nntp-Posting-Host: st1-jos
Message-ID: <ED7JBn.3GF@oce.nl>
Sender: news@oce.nl (The Daily News @ nntp01.oce.nl)
Organization: Oce-Technologies B.V. - CIM-IS/GA
X-Newsreader: trn 4.0-test58 (13 May 97)
References: <5ptrta$k0v$1@eros.clara.net> <868614584.634398@bsdti6.sdm.de>
Date: Sat, 12 Jul 1997 13:11:47 GMT
Lines: 26
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44312

Joerg Pichel <pichel@bsdti1.sdm.de> wrote:
>===> libstdc++
>[...]
>/usr/src/gnu/lib/libstdc++/../../../contrib/libg++/libio/isscan.cc:34: \
>bad argument 2 for function `int streambuf::vscan\
>(const char *, char *, class ios * = 0)' (type was void *)
>*** Error code 1

Fwiw, I got the same error after a failed FTP-based upgrade from 2.2.1 (the
WC-CDROM) to 2.2.2. I sort of fixed it by casting ap on line 34 in isscan.cc
to char *, i.e. (char *)ap.
I am typing this from memory so it may not be ap; but it was the second
argument at any rate. After that the 'make world' completed (actually 'make
gnu'). I tried a 'make includes' first but that didn't make any difference.

Hope this helps... If you find out the real cause I'd like to know, thanks :-)


Cheers,
Jos
-- 
Jos Backus                 _/  _/_/_/                        CIM-ISGA/IS
                          _/  _/   _/              Oce-Technologies B.V.
                         _/  _/_/_/               Venlo, The Netherlands
                    _/  _/  _/    _/
jos@oce.nl           _/_/  _/_/_/            #include <std/disclaimer.h>