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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.2.1
    • Tests
    • None
    • Sun C++, Solaris Threads

    • 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

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 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