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

[EDG eccp 3.9] incomplete type error on sigaction in util/cmdopt.cpp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Utilities
    • Labels:
      None
    • Environment:

      EDG eccp 3.9/gcc 3.3/Solaris 9

    • Severity:
      Compiler Error

      Description

      $ nice gmake BUILDTYPE=11s BUILDDIR=/build/sebor/stdcxx-eccp-3.9-11s CONFIG=eccp.config
      ...
      eccp -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 /amd/devco/sebor/stdcxx/util/cmdopt.cpp
      "/amd/devco/sebor/stdcxx/util/cmdopt.cpp", line 171: error #70: incomplete
      type is not allowed
      struct sigaction act;
      ^

      "/amd/devco/sebor/stdcxx/util/cmdopt.cpp", line 181: error #70: incomplete
      type is not allowed
      return 0 > sigaction (signo, &act, 0);
      ^

      "/amd/devco/sebor/stdcxx/util/cmdopt.cpp", line 181: error #18: expected a ")"
      return 0 > sigaction (signo, &act, 0);
      ^

      3 errors detected in the compilation of "/amd/devco/sebor/stdcxx/util/cmdopt.cpp".
      gmake[2]: *** [cmdopt.o] Error 2
      gmake[2]: Leaving directory `/build/sebor/stdcxx-eccp-3.9-11s/bin'
      gmake[1]: *** [util] Error 2
      gmake[1]: Leaving directory `/build/sebor/stdcxx-eccp-3.9-11s'
      gmake: *** [libstd] Error 2

        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 - 4h
                  4h
                  Remaining:
                  Time Spent - 10m Remaining Estimate - 3h 50m
                  3h 50m
                  Logged:
                  Time Spent - 10m Remaining Estimate - 3h 50m
                  10m