-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
area: USBUniversal Serial BusUniversal Serial BusbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
It seems that a cdc_acm logging feature is triggering a warning that gets promoted to error in twister.
To Reproduce
Steps to reproduce the behavior:
twister -i -p degu_evk -s zephyr/tests/posix/common/portability.posix.common.tls.newlib- See error
Expected behavior
The test should build and pass.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output
/__w/zephyr/zephyr/subsys/usb/device/class/cdc_acm.c
/__w/zephyr/zephyr/subsys/usb/device/class/cdc_acm.c:63:2: error: #warning "USB_CDC_ACM_LOG_LEVEL forced to LOG_LEVEL_NONE" [-Werror=cpp]
63 | #warning "USB_CDC_ACM_LOG_LEVEL forced to LOG_LEVEL_NONE"
| ^~~~~~~
cc1: all warnings being treated as errorsEnvironment (please complete the following information):
- OS: (e.g. Linux, MacOS, Windows): any
- Toolchain (e.g Zephyr SDK, ...): Zephyr SDK 0.15.2
- Commit SHA or Version used: 1173db6
Additional context
It's likely that this has to do with a recent change in logging cc @nordic-krch
This is currently failing in #52977 even after a rebase.
Metadata
Metadata
Assignees
Labels
area: USBUniversal Serial BusUniversal Serial BusbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug