[Solaris Threads] notypenameerr error on thr_mutex_t in 21.string.stdcxx-162.cpp
--------------------------------------------------------------------------------
Key: STDCXX-809
URL: https://issues.apache.org/jira/browse/STDCXX-809
Project: C++ Standard Library
Issue Type: Bug
Components: Tests
Affects Versions: trunk
Environment: Sun C++, Solaris Threads
Reporter: Martin Sebor
Assignee: Martin Sebor
Priority: Minor
Fix For: 4.2.1
The regression test
[21.string.stdcxx-162.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/regress/21.string.stdcxx-162.cpp]
fails to compile with Sun C++ when using Solaris threads with the following
error:
{noformat}
CC -c -mt -D_RWSTD_SOLARIS_THREADS -I$(TOPDIR)/include -I$(BUILDDIR)/include
-I$(TOPDIR)/tests/include -library=%none -O -m32 +w -errtags -erroff=hidef
$(TOPDIR)/tests/regress/21.string.stdcxx-162.cpp
"$(TOPDIR)/tests/regress/21.string.stdcxx-162.cpp", line 59: Error,
notypenameerr: Type name expected instead of "thr_mutex_t".
1 Error(s) detected.
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.