Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 93525 invoked from network); 17 Dec 2005 00:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Dec 2005 00:05:50 -0000 Received: (qmail 65299 invoked by uid 500); 17 Dec 2005 00:05:50 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 65288 invoked by uid 500); 17 Dec 2005 00:05:50 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 65270 invoked by uid 99); 17 Dec 2005 00:05:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 16:05:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.17.213.84] (HELO bco-exchange.bco.roguewave.com) (12.17.213.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 16:05:49 -0800 Received: by bco-exchange.bco.roguewave.com with Internet Mail Service (5.5.2657.72) id ; Fri, 16 Dec 2005 17:00:01 -0700 Message-ID: <4FA4B7B3231C5D459E7BAD020213A94201F5F481@bco-exchange.bco.roguewave.com> From: Jeremy Dean To: "'stdcxx-dev@incubator.apache.org'" Subject: problem with older Standard Library Date: Fri, 16 Dec 2005 16:59:58 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6029C.D1A987A0" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6029C.D1A987A0 Content-Type: text/plain I am working on RedHat 3.0 with the gcc 3.2.3 compiler and also the Rogue Wave 6 standard librarby version. I get a memory fault with the following testcase: #include #include #include class MyClass { public: MyClass(const std::string& value_) : _value(value_) {} string _value; }; typedef std::set MyClassSet; typedef std::map MyMap; static MyClassSet createSet() { MyClassSet s; s.insert(new MyClass("test")); return s; } int main() { MyMap m; string key("key"); m.insert(MyMap::value_type(key, createSet())); return 0; } Any ideas what might be the problem? Jeremy Dean ------_=_NextPart_001_01C6029C.D1A987A0--