You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/09/13 19:21:33 UTC

[jira] Updated: (STDCXX-414) [EDG eccp 3.9] incomplete type error on sigaction in util/cmdopt.cpp

     [ https://issues.apache.org/jira/browse/STDCXX-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-414:
--------------------------------

             Severity: Compiler Error
    Affects Version/s:     (was: 4.2)
                       trunk
             Assignee: Martin Sebor
              Summary: [EDG eccp 3.9] incomplete type error on sigaction in util/cmdopt.cpp  (was: [eccp 3.9/Solaris] incomplete type error on sigaction in util/cmdopt.cpp)

The error is the same on Linux:

make[2]: Entering directory `/build/sebor/stdcxx-trunk-eccp-3.9-11s/bin'
eccp -c -I/home/sebor/stdcxx-trunk/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-trunk/include -I/build/sebor/stdcxx-trunk-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-trunk-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx-trunk/util/runall.cpp
eccp -c -I/home/sebor/stdcxx-trunk/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-trunk/include -I/build/sebor/stdcxx-trunk-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-trunk-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx-trunk/util/cmdopt.cpp
"/home/sebor/stdcxx-trunk/util/cmdopt.cpp", line 179: error #70: incomplete
          type is not allowed
      struct sigaction act;
                       ^

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

"/home/sebor/stdcxx-trunk/util/cmdopt.cpp", line 189: error #18: expected a ")"
      return 0 > sigaction (signo, &act, 0);
                                 ^

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


> [EDG eccp 3.9] incomplete type error on sigaction in util/cmdopt.cpp
> --------------------------------------------------------------------
>
>                 Key: STDCXX-414
>                 URL: https://issues.apache.org/jira/browse/STDCXX-414
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9/gcc 3.3/Solaris 9
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>
> $ 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.