From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29483 invoked by alias); 5 Feb 2003 10:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29463 invoked by uid 71); 5 Feb 2003 10:36:01 -0000 Resent-Date: 5 Feb 2003 10:36:01 -0000 Resent-Message-ID: <20030205103601.29462.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, peturr02@ru.is Received: (qmail 28959 invoked by uid 48); 5 Feb 2003 10:31:54 -0000 Message-Id: <20030205103154.28958.qmail@sources.redhat.com> Date: Wed, 05 Feb 2003 10:36:00 -0000 From: peturr02@ru.is Reply-To: peturr02@ru.is To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/9580: basic_filebuf<> with custom traits_type fails to link X-SW-Source: 2003-02/txt/msg00248.txt.bz2 List-Id: >Number: 9580 >Category: libstdc++ >Synopsis: basic_filebuf<> with custom traits_type fails to link >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Feb 05 10:36:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: peturr02@ru.is >Release: gcc-3.2.1 >Organization: >Environment: Red Hat Linux 8.0 >Description: basic_filebuf fails to link if CharT is any type other than char or wchar_t or if Traits is any type other than char_traits. I think the attached program is required to link and run, in particular it satisfies the requirements for Traits in 21.1.1, 27.1.2 and 27.8.1.1. >How-To-Repeat: See attachment. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="instbug.cc" Content-Disposition: inline; filename="instbug.cc" #include using namespace std; class MyTraits : public char_traits { }; int main() { basic_filebuf fb; return 0; }