Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 57605 invoked from network); 8 Feb 2006 22:29:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 22:29:00 -0000 Received: (qmail 92737 invoked by uid 500); 8 Feb 2006 22:28:56 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 92718 invoked by uid 500); 8 Feb 2006 22:28:56 -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 92707 invoked by uid 99); 8 Feb 2006 22:28:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 14:28:56 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 08 Feb 2006 14:28:55 -0800 Received: from [10.70.2.6] (skynet.bco.roguewave.com [10.70.2.6]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id ZGW28SV0; Wed, 8 Feb 2006 15:20:53 -0700 Message-ID: <43EA716B.7030400@roguewave.com> Date: Wed, 08 Feb 2006 15:32:11 -0700 From: Liviu Nicoara User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: Any ideas on these StdLib build errors? References: <4FA4B7B3231C5D459E7BAD020213A94202948F95@bco-exchange.bco.roguewave.com> In-Reply-To: <4FA4B7B3231C5D459E7BAD020213A94202948F95@bco-exchange.bco.roguewave.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What's the compile line? Nicole Willson wrote: > NO! It's MY test case. :) I actually streamlined it a little more. Ok, here > it is: > > //Test case for ICE on SuSE 9sp2 with xlC 8.0 > #include > > template class codecvt_byname > { > public: > explicit codecvt_byname (){} > }; > > template<> class codecvt_byname > { > public: > explicit codecvt_byname (); > }; > > codecvt_byname::codecvt_byname () > { > static struct {int flag;} mods = {1}; > int flags = 0; > flags = mods.flag; > } > > //End Test case for ICE on SuSE 9sp2 with xlC 8.0 > > The error shows up while trying to build stdlib - specifically wcodecvt.cpp. > > Nicole Willson > Consulting Engineer > Rogue Wave Software, Inc. > A Division of Quovadx > 303-545-3210 > > > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com] > Sent: Wednesday, February 08, 2006 3:14 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: Any ideas on these StdLib build errors? > > Nicole Willson wrote: > >>Ok, I have a test case for this ICE. It's a very specific combination of >>#include , a specialized template class, and an array of static >>struct. So, I can see how the bug got past them. However, I'm not sure > > how > >>to workaround this bug. I need all of these components together. I'll > > see > >>if I can somehow not use string.h > > > I'm sure we can come up with a way if you could just show us the test > case... ;-) > > Martin >