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

Multiple build warnings in yotta build #467

Open
bitsboxscott opened this issue Aug 20, 2020 · 1 comment
Open

Multiple build warnings in yotta build #467

bitsboxscott opened this issue Aug 20, 2020 · 1 comment

Comments

@bitsboxscott
Copy link

I did the latest steps to get the offline build working in yotta, and it does work, but there are dozens of build warnings, mostly around deprecations. It makes it very challenging to debug your own code changes.

I see multiple warnings like:

CMake Deprecation Warning

and ...

ServiceDiscovery.h:148:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated [-Wdeprecated-copy]

And many more. I'm new to yotta's build system and so far I haven't figured out a way to suppress these warnings. It would be great if the standard instructions led to a warning-less build. But short of that, if anyone has any advice for how I could turn off these warnings, I'd be so grateful.

Thanks! Great library, team. I'm very impressed with this project.

wdoekes added a commit to wdoekes/microbit-yotta-samples that referenced this issue May 1, 2022
@wdoekes
Copy link

wdoekes commented May 1, 2022

@bitsboxscott: the above patches fixes all the gcc warnings I'm encountering.

@"lancaster uni": let me know if I should turn those into PRs here.

wdoekes added a commit to wdoekes/microbit-yotta-samples that referenced this issue May 1, 2022
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

No branches or pull requests

2 participants