Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12625

[C++] Tests fail to compile: error: use of undeclared identifier 'WEXITSTATUS'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++, C++ - Plasma
    • None
    • OS: FreeBSD 12.2

    Description

      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:66:5: error: use of undeclared identifier 'WIFEXITED'
          PLASMA_CHECK_SYSTEM(system(plasma_command.c_str()));
          ^
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:42:17: note: expanded from macro 'PLASMA_CHECK_SYSTEM'
          EXPECT_TRUE(WIFEXITED(status__));    \
                      ^
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:66:5: error: use of undeclared identifier 'WEXITSTATUS'
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:43:15: note: expanded from macro 'PLASMA_CHECK_SYSTEM'
          EXPECT_EQ(WEXITSTATUS(status__), 0); \
                    ^
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:85:5: error: use of undeclared identifier 'WIFEXITED'
          PLASMA_CHECK_SYSTEM(system(plasma_kill_command.c_str()));
          ^
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:42:17: note: expanded from macro 'PLASMA_CHECK_SYSTEM'
          EXPECT_TRUE(WIFEXITED(status__));    \
                      ^
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:85:5: error: use of undeclared identifier 'WEXITSTATUS'
      /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:43:15: note: expanded from macro 'PLASMA_CHECK_SYSTEM'
          EXPECT_EQ(WEXITSTATUS(status__), 0); \
                    ^
      4 errors generated.
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yurivict Yuri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: