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

[eccp/Linux] error #29 on #if _RWSTD_INSTANTIATE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Build and Installation
    • Labels:
      None
    • Environment:

      EDG eccp 3.10 with gcc 3.3.3 on SUSE LINUX Enterprise Server 9 (x86_64).

    • Severity:
      Compiler Error

      Description

      The library fails to build with EDG eccp 3.10 and 3.9 (and likely prior versions as well) with the errors below, repeated in many translation units:

      generating dependencies for $(TOPDIR)/src/ti_wtime_put.cpp
      eccp -M -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -I$(TOPDIR)/include -I$(BUILDDIR)/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/src/ti_wtime_put.cpp
      "$(TOPDIR)/include/string", line 1601: error #29:
      expected an expression
      #if _RWSTD_INSTANTIATE (_BASIC_STRING, _WCHAR_T)
      ^

      "$(TOPDIR)/include/streambuf", line 534: error #29:
      expected an expression
      #if _RWSTD_INSTANTIATE (_BASIC_STREAMBUF, _WCHAR_T)
      ^

      "$(TOPDIR)/include/loc/_time_put.h", line 126: error #29:
      expected an expression
      #if _RWSTD_INSTANTIATE (_TIME_PUT, _WCHAR_T)
      ^

      3 errors detected in the compilation of "$(TOPDIR)/src/ti_wtime_put.cpp".

        Attachments

          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: