Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-809

[Solaris Threads] notypenameerr error on thr_mutex_t in 21.string.stdcxx-162.cpp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1
    • Component/s: Tests
    • Labels:
      None
    • Environment:

      Sun C++, Solaris Threads

    • Severity:
      Compiler Error

      Description

      The regression test 21.string.stdcxx-162.cpp fails to compile with Sun C++ when using Solaris threads with the following error:

      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.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebor Martin Sebor
                Reporter:
                sebor Martin Sebor
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h