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:[EMAIL PROTECTED] On Behalf Of Martin Sebor
Sent: Wednesday, April 23, 2008 11:03 AM
To: [email protected]
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