Cleanup warnings during compilation
Opened this issue · 1 comments
daniellivingston commented
Many warnings are generated during compilation. Needs to be cleaned up.
daniellivingston commented
Largely fixed in dd9b74e.
Several warnings remain related to typecasting; these need to be more thoroughly vetted before fixing.
grid.F90:3234:18:
3234 | max_index = j
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:3236:13:
3236 | indx = indx_8
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:3237:12:
3237 | map = map_8
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:478:22:
478 | nsdtopo = nsdtopo_8
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:479:22:
479 | nsdgeom = nsdgeom_8
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:480:22:
480 | npoints = npoints_8
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:481:20:
481 | ntets = ntets_8
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:490:44:
490 | itet(1:ntets*(grid%ndim + 1)) = itet_8(1:ntets*(grid%ndim + 1))
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
grid.F90:491:31:
491 | itettyp(1:ntets) = itettyp_8(1:ntets)
| 1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]