Issue Details (XML | Word | Printable)

Key: STDCXX-414
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

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

Created: 15/May/07 05:48 PM   Updated: 20/Feb/08 08:12 PM
Return to search
Component/s: Utilities
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Original Estimate: 4h
Original Estimate - 4h
Remaining Estimate: 3.83h
Time Spent - 0.17h Remaining Estimate - 3.83h
Time Spent: 0.17h
Time Spent - 0.17h Remaining Estimate - 3.83h

Environment: EDG eccp 3.9/gcc 3.3/Solaris 9
Issue Links:
Duplicate
 
Reference
 

Severity: Compiler Error
Resolution Date: 20/Feb/08 01:42 AM


 Description  « Hide
$ 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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 13/Sep/07 05:19 PM
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


Martin Sebor added a comment - 10/Dec/07 06:45 AM
Set Affects Versions to 4.2.0 and scheduled for 4.2.1.

Martin Sebor added a comment - 20/Feb/08 01:42 AM
The sigaction problem seems fixed on the head of trunk so closing. But see STDCXX-736.