Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix implicit uint8_t -> double narrowing #42

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Feb 18, 2022

YES, the standard committee believes this might be narrowing and clang 12 throws this error:

error: non-constant-expression cannot be narrowed from type 'uint8_t' (aka 'unsigned char') to 'double' in initializer list [-Wc++11-narrowing]

More information here

YES, the standard committee believes this might be narrowing
and clang 12 throws this error:

> error: non-constant-expression cannot be narrowed from type 'uint8_t' (aka 'unsigned char') to 'double' in initializer list [-Wc++11-narrowing]
@facontidavide facontidavide merged commit e728001 into PlotJuggler:development Mar 2, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants