[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Help] gfortran problem: Cannot assign to a named constant



Hi,

any idea how to resolve this gfortran problem:

Automatic builds of abinit with gfortran 4.8.2 (as unstable uses these
days) have been failing:

  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/«BUILDDIR»/abinit-7.6.3+dfsg/fallbacks/exports/include   -ffree-form -J/«BUILDDIR»/abinit-7.6.3+dfsg/src/mods   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -c -o m_ListCdagC.o m_ListCdagC.F90
  m_ListCdagC.F90:129.29:
  
    IF(ALLOCATED(list_1%list)) THEN \newline deallocate(list_1%list, stat=ABI_ALL
                               1
  Error: Cannot assign to a named constant at (1)
  m_ListCdagC.F90:242.29:
  
      IF(ALLOCATED(list_temp)) THEN \newline deallocate(list_temp, stat=ABI_ALLOC
                               1
  Error: Cannot assign to a named constant at (1)
  m_ListCdagC.F90:954.29:
  
    IF(ALLOCATED(list_1%list)) THEN \newline deallocate(list_1%list, stat=ABI_ALL
                               1
  Error: Cannot assign to a named constant at (1)
  make[4]: *** [m_ListCdagC.o] Error 1
  make[4]: Leaving directory `/«BUILDDIR»/abinit-7.6.3+dfsg/src/62_ctqmc'



Thanks for any hint

      Andreas.

-- 
http://fam-tille.de


Reply to: