Skip to content

nimble: remove -Wno-pointer-to-int-cast from CFLAGS#3471

Merged
linguini1 merged 1 commit intoapache:masterfrom
raiden00pl:nimble_cpp
May 5, 2026
Merged

nimble: remove -Wno-pointer-to-int-cast from CFLAGS#3471
linguini1 merged 1 commit intoapache:masterfrom
raiden00pl:nimble_cpp

Conversation

@raiden00pl
Copy link
Copy Markdown
Member

Summary

nimble: remove -Wno-pointer-to-int-cast from CFLAGS
it's not needed and cause warnings for C++ builds:

cc1plus: warning: command-line option '-Wno-pointer-to-int-cast' is valid for C/ObjC but not for C++

Impact

remove warnings from c++ builds

Testing

out of tree c++ project with nimble builds without warnings. nrf52840-dk/sdc_nimble with make builds.

it's not needed and cause warnings for C++ builds:

cc1plus: warning: command-line option '-Wno-pointer-to-int-cast' is valid for C/ObjC but not for C++
Signed-off-by: raiden00pl <raiden00@railab.me>
Copy link
Copy Markdown
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @raiden00pl :-)

@linguini1 linguini1 merged commit a988103 into apache:master May 5, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants