Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 76715 invoked from network); 23 Apr 2008 20:57:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 20:57:50 -0000 Received: (qmail 32682 invoked by uid 500); 23 Apr 2008 20:57:45 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 32666 invoked by uid 500); 23 Apr 2008 20:57:45 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 32655 invoked by uid 99); 23 Apr 2008 20:57:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 13:57:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 64.233.184.235 as permitted sender) Received: from [64.233.184.235] (HELO wr-out-0506.google.com) (64.233.184.235) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 20:57:01 +0000 Received: by wr-out-0506.google.com with SMTP id 58so1834922wri.8 for ; Wed, 23 Apr 2008 13:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=UM/f8fYcZN7fUlNiij9nXsM2w5PRaGBlIsIa1Tq0WRM=; b=lAQ4VNCYx1CsWi8BAk3w5WwvQtIXnt8BMoKq7BMIkgY/HJ0lIkKSFYfAPSx4+k7aD7yWCigS2zy4n8C1svCk62dzFfDM17fySa11O3ek6dOMOY7LWbzW9umgGYBsHM/IC2jT1gLTeGoI5jNg0Np1RoDTIPcQQBXf+0Nw/2U8kw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=saJlL2YwcMaH8u+/0eU8G0xw16ew+eBlSLNSOqm0F0exohVMGhNPjJgPrh9a1VNAOUr67tj/D0+4sbhMyvDRmS6EUqcw5mDKhL8PVmj9nsGdnSHnoaUeABg5EXcnJ4ETTyvHudX6Oy+wpeIMC556tBSqAijNHCu9QLGSB5YRCnI= Received: by 10.141.113.6 with SMTP id q6mr659163rvm.135.1208984233534; Wed, 23 Apr 2008 13:57:13 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id l31sm677717rvb.2.2008.04.23.13.57.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Apr 2008 13:57:12 -0700 (PDT) Message-ID: <480FA2A7.5090908@roguewave.com> Date: Wed, 23 Apr 2008 14:57:11 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: errors compiling 22.locale.synopsis.cpp References: <480F6BE0.9000909@roguewave.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Eric Lemings wrote: > > Interesting. I'll fix it pronto. NBD. The other tests have been failing too (and we'll need to fix them at some point in the near future) but this error looks new to me. > > In general though, do these compilers expect templates and > specializations > to not have a storage class? Template specializations get the same linkage as the primary template. You can declare the primary static and have the specialization "inherit" it but you can't have the primary extern and the specialization static or vice versa. Martin > > Brad. > >> -----Original Message----- >> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor >> Sent: Wednesday, April 23, 2008 11:03 AM >> To: dev@stdcxx.apache.org >> Subject: errors compiling 22.locale.synopsis.cpp >> >> The new test fails to compile with most compilers, including IBM >> XLC++, Sun C++, MSVC, and HP aCC. It fails to link with Intel C++. >> Here's the aCC error: >> >> aCC -c -I$(TOPDIR)/include -I$(BUILDDIR)/include >> -I$(TOPDIR)/tests/include -AA +O2 +w +W392,655,684,818,819,849 >> +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 >> +W4255,4272,4284,4285,4286,4296,4297 +W3348 >> $(TOPDIR)/tests/localization/22.locale.synopsis.cpp >> "$(TOPDIR)/tests/localization/22.locale.synopsis.cpp", line >> 828: error >> #2080: a storage class may not be specified here >> static void >> ^ >> >> 1 error detected in the compilation of >> "$(TOPDIR)/tests/localization/22.locale.synopsis.cpp". >> >> Martin >>