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

[EDG eccp/Linux] error #70 on incomplete struct sigaction in cmdopt.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • Test Driver
    • None
    • EDG eccp 3.10 with gcc 4.1.0 on SUSE Linux Enterprise Server 10 (x86_64)

    • Compiler Error

    Description

      The exec utility fails to build with EDG eccp on Linux with the error below:

      $ nice make BUILDTYPE=11s BUILDDIR=/build/sebor/stdcxx-eccp-3.10-11s CONFIG=eccp.config
      creating BUILDDIR=/build/sebor/stdcxx-eccp-3.10-11s
      generating /build/sebor/stdcxx-eccp-3.10-11s/makefile.in from /amd/devco/sebor/stdcxx/etc/config/eccp.config
      make[1]: Entering directory `/build/sebor/stdcxx-eccp-3.10-11s'
      make[2]: Entering directory `/build/sebor/stdcxx-eccp-3.10-11s/include'
      make config
      make[3]: Entering directory `/build/sebor/stdcxx-eccp-3.10-11s/include'

      configuring stdcxx 4.2.0 for eccp-3.10 on linux-2.6.16.21-0.8-smp-x86_64

      checking if the compiler is sane ok (invoked with eccp)
      checking if the linker is sane ok (invoked with eccp)
      checking system architecture ILP32 little endian
      ...
      eccp -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.10-11s/include -A -x --template_directory=/build/sebor/stdcxx-eccp-3.10-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 181: error #70: incomplete
      type is not allowed
      struct sigaction act;
      ^

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

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

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: