Skip to content

Compilation warning #488

@rs028

Description

@rs028

Doesn't appear to be serious. Compilation ends with the following warning message:

gfortran-11 -o atchem2 -Jobj -Iobj src/dataStructures.f90 src/argparse.f90 src/interpolationFunctions.f90 src/configFunctions.f90 src/inputFunctions.f90 src/outputFunctions.f90 src/atmosphereFunctions.f90 src/solarFunctions.f90 src/constraintFunctions.f90 src/solverFunctions.f90 src/parameterModules.f90 src/atchem2.f90 -ffree-form -fimplicit-none -Wall -Wpedantic -fcheck=all -fPIC -O2 -Lcvode/lib -Lopenlibm-0.8.1 -Wl,-R,/usr/lib/:cvode/lib:openlibm-0.8.1 -lopenlibm -lsundials_fcvode -lsundials_cvode -lsundials_fnvecserial -lsundials_nvecserial -ldl
src/inputFunctions.f90:1081:35:

 1081 |     speciesNames = getSpeciesList()
      |                                   ^
Warning: ‘speciesnames.offset’ may be used uninitialized [-Wmaybe-uninitialized]
src/inputFunctions.f90:1077:64:

 1077 |     character(len=maxSpecLength), allocatable :: speciesNames(:), constrainedNames(:)
      |                                                                ^
note: ‘speciesnames’ declared here
src/inputFunctions.f90:1081:35:

 1081 |     speciesNames = getSpeciesList()
      |                                   ^
Warning: ‘speciesnames.dim[0].lbound’ may be used uninitialized [-Wmaybe-uninitialized]
src/inputFunctions.f90:1077:64:

 1077 |     character(len=maxSpecLength), allocatable :: speciesNames(:), constrainedNames(:)
      |                                                                ^
note: ‘speciesnames’ declared here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Compilation and Execution Issues

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions