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

[TI] -Wundef errors in various headers #29592

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

[TI] -Wundef errors in various headers #29592

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

Comments

@bzbarsky-apple
Copy link
Contributor

bzbarsky-apple commented Oct 5, 2023

Reproduction steps

Enable -Wundef. See https://github.com/project-chip/connectedhomeip/actions/runs/6419947040/job/17430925452?pr=29582

INFO    ../../examples/lighting-app/cc13x4_26x4/third_party/connectedhomeip/examples/lighting-app/cc13x4_26x4/include/CHIPProjectConfig.h:31:5: error: "BUILD_RELEASE" is not defined, evaluates to 0 [-Werror=undef]
INFO       31 | #if BUILD_RELEASE // release build
INFO          |     ^~~~~~~~~~~~~
INFO    <command-line>: error: "V41_FEATURES" is not defined, evaluates to 0 [-Werror=undef]
INFO    ../../examples/lighting-app/cc13x4_26x4/third_party/connectedhomeip/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/ti/ble5stack_flash/inc/bcomdef.h:145:42: note: in expansion of macro 'BLE_V41_FEATURES'
INFO      145 | #if (!defined ( BLE_V41_FEATURES ) || !( BLE_V41_FEATURES & L2CAP_COC_CFG )) && !defined(GATT_QUAL) && defined(OAD_CFG)
INFO          |                                          ^~~~~~~~~~~~~~~~

And https://github.com/project-chip/connectedhomeip/actions/runs/6419947057/job/17430924978?pr=29582

INFO    ../../examples/lock-app/cc32xx/third_party/connectedhomeip/third_party/ti_simplelink_sdk/repo_cc32xx/source/ti/drivers/GPIO.h:264:6: error: "DeviceFamily_PARENT" is not defined, evaluates to 0 [-Werror=undef]
INFO      264 | #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC13X0_CC26X0 \
INFO          |      ^~~~~~~~~~~~~~~~~~~

@s-jain2022

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

@bzbarsky-apple bzbarsky-apple changed the title [TI] -Wundef errors in config headers [TI] -Wundef errors in various headers Oct 5, 2023
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