Skip to content

Compiling with CONFIG_STD_C23 produces error #100169

@Barto22

Description

@Barto22

Describe the bug

I was trying to port USB HID mouse example to my app which uses some other library which compiles with C23 standard so I enable this option in prj.conf. After that I have error from devicetree, the same for USB HID mouse sample app just after adding this CONFIG_STD_C23=y config.

error.txt

Regression

  • This is a regression.

Steps to reproduce

west build -p always -b stm32f4_disco samples/subsys/usb/hid-mouse -- -DCONFIG_STD_C23=y

Relevant log output

Full build log is in attachmen because is too long.

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

  • OS Ubuntu 24.04
  • Zephyr SDK
  • Latest main zephyr branch

Additional Context

I was trying to build for stm32f4_disco and nrf52840dk.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions