-
Notifications
You must be signed in to change notification settings - Fork 343
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
AMReX_FabConv.cpp warning writing 1 byte into a region of size 0 [-Wstringop-overflow=] #2750
Comments
Have the same issue on Perlmutter |
I can reproduce the warnings on Perlmutter when compiling with cmake. However, there are no such warnings with gnu make (with -Wall -Wstringop-overflow). The difference seems to be that in gnu make |
It is due to that the |
|
The warnings are false positive, but we can fix them. |
On Perlmutter, `g++ -O3 -march=znver3` produces lots of stringop-overflow warnings in FabConv. These warnings are false positive because the compiler does not know sizeof(amrex::Real) is either 4 or 8. This commit fixes the warnings. Close AMReX-Codes#2750
On Perlmutter, `g++ -O3 -march=znver3` produces lots of stringop-overflow warnings in FabConv. These warnings are false positive because the compiler does not know sizeof(amrex::Real) is either 4 or 8. This commit fixes the warnings. Close #2750
On Perlmutter, `g++ -O3 -march=znver3` produces lots of stringop-overflow warnings in FabConv. These warnings are false positive because the compiler does not know sizeof(amrex::Real) is either 4 or 8. This commit fixes the warnings. Close AMReX-Codes#2750
Dear AMReX developers,
cc: @ax3l
I am a
WarpX
user in NERSC.I observed the following warning message when I was building
WarpX
in Perlmutter.Here's the list of modules that I use in Perlmutter.
Thank you.
The text was updated successfully, but these errors were encountered: