From owner-freebsd-stable Fri May 5 1:18:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.gmx.net (mail.gmx.net [194.221.183.62]) by hub.freebsd.org (Postfix) with SMTP id 3222F37B6F2 for ; Fri, 5 May 2000 01:18:30 -0700 (PDT) (envelope-from sdt@gmx.net) Received: (qmail 32042 invoked by uid 0); 5 May 2000 08:18:28 -0000 Received: from as10-182.brunet.bn (HELO stomper.sdtzone) (202.160.10.182) by mail.gmx.net with SMTP; 5 May 2000 08:18:28 -0000 Received: from localhost (sdt@localhost) by stomper.sdtzone (8.9.3/8.9.3) with ESMTP id QAA02532; Fri, 5 May 2000 16:16:43 +0800 (BNT) (envelope-from sdt@stomper.sdtzone) Date: Fri, 5 May 2000 16:16:42 +0800 (BNT) From: Stefanus Du Toit To: freebsd-stable@FreeBSD.ORG Cc: gcc-help@gcc.gnu.org Subject: libio - _G_IO_IO_FILE_VERSION, streambuf::showmanyc() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, (note: I am not subscribed to gcc-help, but am to freebsd-stable) I'm currently working at a protocol library in C++. It uses iostreams for network communication, hence relying on streambuf. However, we require streambuf::showmanyc() to be available, but it seems to be #defined out as follows in /usr/include/g++/streambuf.h: -- g++/streambuf.h, line 416 -- #if _G_IO_IO_FILE_VERSION == 0x20001 virtual int showmanyc(); virtual void imbue(void *); #endif -- snip -- Another developer also working on the project has g++ 2.95.2 installed from the sources straight from cygnus (on Linux afaik) and he seems to have #define _G_IO_IO_FILE_VERSION = 0x20001 in his _G_config.h. Why is this not defined in the version built from /usr/src/, with FreeBSD-STABLE 4.0 from about 2 weeks ago? Any ideas on how I can get this fixed? Your help would be greatly appreciated, -- Stefanus Du Toit * WorldForger * Open-source/free software unix hacker mailto:sdt@gmx.net * http://www.worldforge.org/ * http://ultracool.net/ GPG key: 6B92DE98 from certserver.pgp.com or http://ultracool.net/gpg/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message