-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Add static analysis workflow #445
base: master
Are you sure you want to change the base?
Conversation
PRAGMA_DIAGNOSTIC_PUSH | ||
PRAGMA_DIAGNOSTIC_IGNORED("-Wfloat-equal") | ||
for (int i = 0; i < a->size; i++) { | ||
if (a->float64array[i] != b->float64array[i]) { |
Check notice
Code scanning / CodeQL
Equality test on floating-point values
PRAGMA_DIAGNOSTIC_PUSH | ||
PRAGMA_DIAGNOSTIC_IGNORED("-Wfloat-equal") | ||
for (int i = 0; i < a->size; i++) { | ||
if (a->float32array[i] != b->float32array[i]) { |
Check notice
Code scanning / CodeQL
Equality test on floating-point values
case kStdFloat64: | ||
PRAGMA_DIAGNOSTIC_PUSH | ||
PRAGMA_DIAGNOSTIC_IGNORED("-Wfloat-equal") | ||
return raw_std_value_as_float64(a) == raw_std_value_as_float64(b); |
Check notice
Code scanning / CodeQL
Equality test on floating-point values
- add codechecker workflow - enable `-pedantic` - fix a lot of warnings - only report error from `gbm_surface_create_with_modifiers` if `gbm_surface_create` fails too
e309e22
to
80321d6
Compare
No description provided.