File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,10 @@ jobs:
82
82
# enable it for various reasons. Keep whatever Xcode settings
83
83
# for OTHER_CFLAGS exist by using ${inherited}.
84
84
#
85
- # Disable -Wdocumentation because so much of our doxygen is so
86
- # broken. See https://github.com/project-chip/connectedhomeip/issues/6734
87
- #
88
85
# Disable -Wmacro-redefined because CHIP_DEVICE_CONFIG_ENABLE_MDNS
89
86
# seems to be unconditionally defined in CHIPDeviceBuildConfig.h,
90
87
# which is apparently being included after CHIPDeviceConfig.h.
91
- run : xcodebuild -target "CHIP" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wno-documentation -Wno- macro-redefined'
88
+ run : xcodebuild -target "CHIP" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wno-macro-redefined'
92
89
working-directory : src/darwin/Framework
93
90
- name : Clean Build
94
91
run : xcodebuild clean
@@ -117,7 +114,7 @@ jobs:
117
114
run : |
118
115
mkdir -p /tmp/darwin/framework-tests
119
116
../../../out/debug/chip-all-clusters-app > >(tee /tmp/darwin/framework-tests/all-cluster-app.log) 2> >(tee /tmp/darwin/framework-tests/all-cluster-app-err.log >&2) &
120
- xcodebuild test -target "CHIP" -scheme "CHIP Framework Tests" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wno-documentation -Wno- incomplete-umbrella' > >(tee /tmp/darwin/framework-tests/darwin-tests.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-err.log >&2)
117
+ xcodebuild test -target "CHIP" -scheme "CHIP Framework Tests" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wno-incomplete-umbrella' > >(tee /tmp/darwin/framework-tests/darwin-tests.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-err.log >&2)
121
118
working-directory : src/darwin/Framework
122
119
- name : Uploading log files
123
120
uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 33
33
34
34
#pragma once
35
35
36
+ // The nlio headers use [inout] instead of [in,out], which makes the clang
37
+ // documentation warning unhappy. Suppress it for those headers.
38
+ #pragma GCC diagnostic push
39
+ #ifdef __clang__
40
+ #pragma GCC diagnostic ignored "-Wdocumentation"
41
+ #endif // __clang__
42
+
36
43
#include < nlbyteorder.hpp>
37
44
#include < nlio-byteorder.hpp>
38
45
#include < nlio.hpp>
39
46
47
+ #pragma GCC diagnostic pop
48
+
40
49
#include < stdint.h>
41
50
42
51
namespace chip {
You can’t perform that action at this time.
0 commit comments