You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In commit b62389d, the logic of Python availability in subdivide_hydrofabric was changed. This created the situation where a build with MPI enabled and Python disabled would generate the following warning:
In file included from /repos/ngen/src/NGen.cpp:51:
/repos/ngen/include/utilities/parallel_utils.h: In function 'bool parallel::subdivide_hydrofabric(int, int, const string&, const string&, const string&)':
/repos/ngen/include/utilities/parallel_utils.h:536:5: warning: control reaches end of non-void function [-Wreturn-type]
I agree with the warning - in that case, the function can fail to specify its return value, leading to undefined behavior.
The text was updated successfully, but these errors were encountered:
In commit b62389d, the logic of Python availability in
subdivide_hydrofabric
was changed. This created the situation where a build with MPI enabled and Python disabled would generate the following warning:I agree with the warning - in that case, the function can fail to specify its return value, leading to undefined behavior.
The text was updated successfully, but these errors were encountered: