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

build: eliminate warnings #1

Closed
cfriedt opened this issue Dec 13, 2020 · 0 comments · Fixed by #33
Closed

build: eliminate warnings #1

cfriedt opened this issue Dec 13, 2020 · 0 comments · Fixed by #33
Assignees
Labels
build enhancement New feature or request
Milestone

Comments

@cfriedt
Copy link
Owner

cfriedt commented Dec 13, 2020

Currently tests and samples build with a number of warnings.

We should compile with zero warnings.

A frequent warning has to do with const-ness of things at the device init stage.

@cfriedt cfriedt self-assigned this Dec 13, 2020
@cfriedt cfriedt added this to the Release milestone Dec 13, 2020
@cfriedt cfriedt changed the title Eliminate all Compiler Warnings build: eliminate warnings Dec 13, 2020
@cfriedt cfriedt added build enhancement New feature or request labels Dec 13, 2020
cfriedt added a commit that referenced this issue Dec 15, 2020
This change eliminates a number of compiler warnings.

The main gist was that `struct device *` was replaced
with `const struct device *` in a number of places.

Fixes #1

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
cfriedt added a commit that referenced this issue Dec 15, 2020
This change eliminates a number of compiler warnings.

The main gist was that `struct device *` was replaced
with `const struct device *` in a number of places.

Fixes #1

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
cfriedt added a commit that referenced this issue Dec 29, 2020
This change eliminates a number of compiler warnings.

The main gist was that `struct device *` was replaced
with `const struct device *` in a number of places.

Fixes #1

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
cfriedt added a commit that referenced this issue Dec 29, 2020
This change eliminates a number of compiler warnings.

The main gist was that `struct device *` was replaced
with `const struct device *` in a number of places.

Fixes #1

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant