Skip to content

build: eliminate build warnings on Ubuntu 20.04#22994

Merged
opencv-pushbot merged 1 commit intoopencv:4.xfrom
alalek:gapi_build_issues
Dec 20, 2022
Merged

build: eliminate build warnings on Ubuntu 20.04#22994
opencv-pushbot merged 1 commit intoopencv:4.xfrom
alalek:gapi_build_issues

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 20, 2022

Build warning:

In file included from /build/precommit_opencl_linux/4.x/opencv/modules/gapi/src/executor/gtbbexecutor.hpp:15,
                 from /build/precommit_opencl_linux/4.x/opencv/modules/gapi/src/executor/gtbbexecutor.cpp:7:
/usr/include/tbb/tbb.h:21:154: note: #pragma message: TBB Warning: tbb.h contains deprecated functionality. For details, please see Deprecated Features appendix in the TBB reference manual.
   21 | #pragma message("TBB Warning: tbb.h contains deprecated functionality. For details, please see Deprecated Features appendix in the TBB reference manual.")
      |                                                                                                                                                          ^
In file included from /build/precommit_custom_linux/4.x/opencv/modules/ts/include/opencv2/ts.hpp:126:0,
                 from /build/precommit_custom_linux/4.x/opencv/modules/gapi/include/../test/common/gapi_tests_common.hpp:15,
                 from /build/precommit_custom_linux/4.x/opencv/modules/gapi/test/streaming/gapi_gstreamer_pipeline_facade_int_tests.cpp:7:
/build/precommit_custom_linux/4.x/opencv/modules/gapi/test/streaming/gapi_gstreamer_pipeline_facade_int_tests.cpp: In member function 'virtual void opencv_test::GStreamerPipelineFacadeTest_IsPlayingUnitTest_Test::Body()':
/build/precommit_custom_linux/4.x/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:8124:55: warning: converting 'false' to pointer type for argument 1 of 'char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)' [-Wconversion-null]
     (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1)
                                                       ^
/build/precommit_custom_linux/4.x/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:19980:52: note: in definition of macro 'GTEST_ASSERT_'
   if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                    ^
/build/precommit_custom_linux/4.x/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:20065:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
   ^
/build/precommit_custom_linux/4.x/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:21854:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
   EXPECT_PRED_FORMAT2(::testing::internal:: \
   ^
/build/precommit_custom_linux/4.x/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:21855:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_'
                       EqHelper<GTEST_IS_NULL_LITERAL_(val1)>::Compare, \
                                ^
/build/precommit_custom_linux/4.x/opencv/modules/gapi/test/streaming/gapi_gstreamer_pipeline_facade_int_tests.cpp:141:5: note: in expansion of macro 'EXPECT_EQ'
     EXPECT_EQ(false, pipelineFacade.isPlaying());
     ^
force_builders=Linux OpenCL

@asmorkalov asmorkalov requested review from asmorkalov and mshabunin and removed request for mshabunin December 20, 2022 08:08
@opencv-pushbot opencv-pushbot merged commit 41d172f into opencv:4.x Dec 20, 2022
@alalek alalek mentioned this pull request Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants