Skip to content

Commit

Permalink
[build] Fix #21255 - allow circular initialization of SimpleStateMach…
Browse files Browse the repository at this point in the history
…ine test. (#22461)

* [build] Fix #21255 - allow circular initialization of SimpleStateMachine test.

* [build] Add comment per review feedback.
  • Loading branch information
turon authored Sep 8, 2022
1 parent 25827e8 commit 660786b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/support/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ chip_test_suite("tests") {
test_sources += [ "TestCHIPArgParser.cpp" ]
}

cflags = [ "-Wconversion" ]
cflags = [
"-Wconversion",

# TODO(#21255): work-around for SimpleStateMachine constructor issue.
"-Wno-error=uninitialized",
]

public_deps = [
"${chip_root}/src/credentials",
Expand Down

0 comments on commit 660786b

Please sign in to comment.