Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Various CHIP_BLUEZ_ macros are never defined #29589

Closed
bzbarsky-apple opened this issue Oct 5, 2023 · 0 comments · Fixed by #29596
Closed

[Linux] Various CHIP_BLUEZ_ macros are never defined #29589

bzbarsky-apple opened this issue Oct 5, 2023 · 0 comments · Fixed by #29596

Comments

@bzbarsky-apple
Copy link
Contributor

Reproduction steps

Enable -Wundef. https://github.com/project-chip/connectedhomeip/actions/runs/6419947060/job/17430924417?pr=29582

INFO    ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/bluez/Helper.cpp:317:5: error: 'CHIP_BLUEZ_CHAR_WRITE_VALUE' is not defined, evaluates to 0 [-Werror,-Wundef]
INFO      317 | #if CHIP_BLUEZ_CHAR_WRITE_VALUE
INFO          |     ^
INFO    ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/bluez/Helper.cpp:1067:5: error: 'CHIP_BLUEZ_CENTRAL_SUPPORT' is not defined, evaluates to 0 [-Werror,-Wundef]
INFO     1067 | #if CHIP_BLUEZ_CENTRAL_SUPPORT
INFO          |     ^
INFO    ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/bluez/Helper.cpp:1326:5: error: 'CHIP_BLUEZ_NAME_MONITOR' is not defined, evaluates to 0 [-Werror,-Wundef]
INFO     1326 | #if CHIP_BLUEZ_NAME_MONITOR
INFO          |     ^

None of those three macros seem to be defined by anything anywhere.

Platform

raspi

Platform Version(s)

No response

Type

CI tested

(Optional) If manually tested please explain why this is only manually tested

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant