pitrou opened a new issue #139:
URL: https://github.com/apache/arrow-cookbook/issues/139


   I'm not sure whether this is expected or not. I'm simply trying `make cpp`
   
   ```
   /home/antoine/arrow/cookbook/cpp/code/basic_arrow.cc:23:1: error: class 
'BasicArrow_ReturnNotOkNoMacro_Test' defines a copy constructor and a copy 
assignment operator but does not define a destructor, a move constructor or a 
move assignment operator [hicpp-special-member-functions,-warnings-as-errors]
   TEST(BasicArrow, ReturnNotOkNoMacro) {
   ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2338:42: note: 
expanded from macro 'TEST'
   #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, 
test_name)
                                            ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2332:3: note: 
expanded from macro 'GTEST_TEST'
     GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
     ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1355:9:
 note: expanded from macro 'GTEST_TEST_'
     class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)                   
 \
           ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1347:3:
 note: expanded from macro 'GTEST_TEST_CLASS_NAME_'
     test_suite_name##_##test_name##_Test
     ^
   note: expanded from here
   /home/antoine/arrow/cookbook/cpp/code/basic_arrow.cc:46:1: error: class 
'BasicArrow_ReturnNotOk_Test' defines a copy constructor and a copy assignment 
operator but does not define a destructor, a move constructor or a move 
assignment operator [hicpp-special-member-functions,-warnings-as-errors]
   TEST(BasicArrow, ReturnNotOk) {
   ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2338:42: note: 
expanded from macro 'TEST'
   #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, 
test_name)
                                            ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2332:3: note: 
expanded from macro 'GTEST_TEST'
     GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
     ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1355:9:
 note: expanded from macro 'GTEST_TEST_'
     class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)                   
 \
           ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1347:3:
 note: expanded from macro 'GTEST_TEST_CLASS_NAME_'
     test_suite_name##_##test_name##_Test
     ^
   note: expanded from here
   19395 warnings generated.
   Suppressed 19481 warnings (19393 in non-user code, 88 NOLINT).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   2 warnings treated as errors
   make[3]: *** [CMakeFiles/basic_arrow.dir/build.make:76 : 
CMakeFiles/basic_arrow.dir/basic_arrow.cc.o] Erreur 2
   make[3]: *** Attente des tâches non terminées....
   /home/antoine/arrow/cookbook/cpp/code/creating_arrow_objects.cc:23:1: error: 
class 'CreatingArrowObjects_CreateArrays_Test' defines a copy constructor and a 
copy assignment operator but does not define a destructor, a move constructor 
or a move assignment operator 
[hicpp-special-member-functions,-warnings-as-errors]
   TEST(CreatingArrowObjects, CreateArrays) {
   ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2338:42: note: 
expanded from macro 'TEST'
   #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, 
test_name)
                                            ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2332:3: note: 
expanded from macro 'GTEST_TEST'
     GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
     ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1355:9:
 note: expanded from macro 'GTEST_TEST_'
     class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)                   
 \
           ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1347:3:
 note: expanded from macro 'GTEST_TEST_CLASS_NAME_'
     test_suite_name##_##test_name##_Test
     ^
   note: expanded from here
   19622 warnings generated.
   Suppressed 19709 warnings (19621 in non-user code, 88 NOLINT).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   1 warning treated as error
   make[3]: *** [CMakeFiles/creating_arrow_objects.dir/build.make:76 : 
CMakeFiles/creating_arrow_objects.dir/creating_arrow_objects.cc.o] Erreur 1
   make[3]: *** Attente des tâches non terminées....
   /home/antoine/arrow/cookbook/cpp/code/datasets.cc:78:1: error: class 
'DatasetReadingTest_DatasetRead_Test' defines a copy constructor and a copy 
assignment operator but does not define a destructor, a move constructor or a 
move assignment operator [hicpp-special-member-functions,-warnings-as-errors]
   TEST_F(DatasetReadingTest, DatasetRead) {
   ^
   /home/antoine/miniconda3/envs/pyarrow/include/gtest/gtest.h:2369:3: note: 
expanded from macro 'TEST_F'
     GTEST_TEST_(test_fixture, test_name, test_fixture, \
     ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1355:9:
 note: expanded from macro 'GTEST_TEST_'
     class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)                   
 \
           ^
   
/home/antoine/miniconda3/envs/pyarrow/include/gtest/internal/gtest-internal.h:1347:3:
 note: expanded from macro 'GTEST_TEST_CLASS_NAME_'
     test_suite_name##_##test_name##_Test
     ^
   note: expanded from here
   /home/antoine/arrow/cookbook/cpp/code/datasets.cc:148:29: error: no member 
named 'UseAsync' in 'arrow::dataset::ScannerBuilder' [clang-diagnostic-error]
     ASSERT_OK(scanner_builder.UseAsync(true));
                               ^
   /home/antoine/arrow/cookbook/cpp/code/common.h:33:73: note: expanded from 
macro 'ASSERT_OK'
     for (const ::arrow::Status& _st = 
::arrow::internal::GenericToStatus((expr)); \
                                                                           ^
   31717 warnings and 1 error generated.
   Error while processing /home/antoine/arrow/cookbook/cpp/code/datasets.cc.
   Suppressed 31851 warnings (31716 in non-user code, 135 NOLINT).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   1 warning treated as error
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to