Skip to content

cmake: avoid duplication of -Winit-self flag#19022

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:cmake_avoid_duplication_of_winit_self
Dec 6, 2020
Merged

cmake: avoid duplication of -Winit-self flag#19022
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:cmake_avoid_duplication_of_winit_self

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 5, 2020

Appears twice in compiler command line.

relates #8990

ci_branch=pr19022

Nightly build.

[ 18%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o
cd /build/3_4-lin64/build/modules/core && /usr/bin/ccache /usr/bin/c++ -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int -DOPENCV_WITH_ITT=1 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/3_4-lin64/build/3rdparty/ippicv/ippicv_lnx/icv/include -I/build/3_4-lin64/build/3rdparty/ippicv/ippicv_lnx/iw/include -isystem /build/3_4-lin64/build -isystem /usr/include/gdal -isystem /usr/include/eigen3 -I/build/3_4-lin64/opencv/modules/core/include -I/build/3_4-lin64/build/modules/core -I/build/3_4-lin64/opencv/3rdparty/include/opencl/1.2 -I/build/3_4-lin64/opencv/3rdparty/ittnotify/include -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -fPIC -o CMakeFiles/opencv_core.dir/src/system.cpp.o -c /build/3_4-lin64/opencv/modules/core/src/system.cpp

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Dec 6, 2020

👍

@opencv-pushbot opencv-pushbot merged commit a9f4f8d into opencv:3.4 Dec 6, 2020
@alalek alalek mentioned this pull request Dec 9, 2020
@alalek alalek mentioned this pull request Apr 9, 2021
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.

2 participants