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

[Mbed] -Wundef failures in rc/platform/mbed/Logging.cpp #29601

Open
bzbarsky-apple opened this issue Oct 5, 2023 · 0 comments
Open

[Mbed] -Wundef failures in rc/platform/mbed/Logging.cpp #29601

bzbarsky-apple opened this issue Oct 5, 2023 · 0 comments

Comments

@bzbarsky-apple
Copy link
Contributor

Reproduction steps

Turn on -Wundef. https://github.com/project-chip/connectedhomeip/actions/runs/6421642409/job/17436462886?pr=29582

INFO    ../../../src/platform/mbed/Logging.cpp:102:5: error: "MBED_BSD_SOCKET_TRACE" is not defined, evaluates to 0 [-Werror=undef]
INFO      102 | #if MBED_BSD_SOCKET_TRACE
INFO          |     ^~~~~~~~~~~~~~~~~~~~~
INFO    ../../../src/platform/mbed/Logging.cpp:109:5: error: "MBED_DEBUG" is not defined, evaluates to 0 [-Werror=undef]
INFO      109 | #if MBED_DEBUG
INFO          |     ^~~~~~~~~~

@pan-

Platform

other

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
Development

No branches or pull requests

1 participant