-
Notifications
You must be signed in to change notification settings - Fork 25
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
comparing integer expressions of different signedness in memory benchmarking file #273
Comments
@BabarZKhan: There are multiple for-loops in memtest_parallel.cpp, which one were you referring to? Do you maybe want to provide a fix yourself? |
@sommerlukas : thanks for the reply. Yes, there are multiple
In current code the data type of variable Yes, I can provide a fix. But please let me know your opinion. I got compiler error but in some compiler this can just be a warning. This is why I mentioned not really a 'bug'. :-) |
We should definitely fix this, even if it only is a warning, it is still a "code smell". IMHO, So, please feel free to go ahead an propose a fix. Thanks! |
This So I think it's not really necessary to fix this right now (as it's "only" a code smell) because it will get replaced (or removed) in the next weeks |
@JoJoWi : Yes, I agree. I am using a modified version of it. No problem if it is removed or replaced in next weeks. So I will not fix it. |
there is not really a 'bug' but in
for
loop ofmemtest_parallel.cpp
file, the condition in loop is comparing integer expressions of different signedness. This can give compiler error. I think the variableinstances
can also be declared asint
The text was updated successfully, but these errors were encountered: