Skip to content

Fix: Suppress unused private field warning on macOS#109

Open
idesign0 wants to merge 1 commit intoLivox-SDK:masterfrom
idesign0:master
Open

Fix: Suppress unused private field warning on macOS#109
idesign0 wants to merge 1 commit intoLivox-SDK:masterfrom
idesign0:master

Conversation

@idesign0
Copy link

This pull request resolves a build failure on macOS caused by the compiler's -Werror flag and the -Wunused-private-field warning.

This fix modifies the target_compile_options to specifically suppress the -Wunused-private-field warning for the AppleClang compiler. This allows the build to pass successfully while retaining other important warnings enabled by the -Wall flag, ensuring continued code quality checks

@idesign0
Copy link
Author

fyi @traversaro. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant