Skip to content

Commit af42e17

Browse files
committed
Filter out variadic macro warnings from output
Until this is fixed in opentelemetry-cpp some way.
1 parent 5458abd commit af42e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makevars.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ otelcpplib: vendor/opentelemetry-cpp.tgz
110110
sed -i.bak -e 's/^M$$//' cpp/build/CMakeFiles/3.30.4/CompilerIdCXX/CMakeCXXCompilerId.cpp; \
111111
/usr/bin/find . -name Makefile | xargs sed -i.bak -e 's/^M$$//'; \
112112
fi
113-
(cd cpp; @CMAKE_BUILD_PARALLEL_LEVEL@ cmake --build build)
113+
(cd cpp; @CMAKE_BUILD_PARALLEL_LEVEL@ cmake --build build 2>&1) | grep -v 'warning:.*variadic'
114114
(cd cpp; cmake --install build)
115115
@find . -type f -name "*.pb.h" -exec sed -i.bak "s/#pragma/# pragma/g" {} \;
116116
@find cpp/third_party/nlohmann-json -type f -name "*.hpp" -exec sed -i.bak "s/#pragma/# pragma/g" {} \;

0 commit comments

Comments
 (0)