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

[EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • Test Driver
    • None
    • EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.

    • Compiler Error

    Description

      Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:

      eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/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   /home/sebor/stdcxx/tests/src/process.cpp
      "/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
                "SIGALRM" is undefined
                prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
                                             ^
      
      "/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
                "EINTR" is undefined
                    if (EINTR == errno && alarm_timeout) {
                        ^
      
      "/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
                "SIGALRM" is undefined
                signal (SIGALRM, prev_alarm_handler);
                        ^
      
      3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified