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

Aw: [Debichem-devel] Bug#747259: [Help] gfortran problem: Cannot assign to a named constant



 
 Hi,
 
Remove the "new line" (in your code \newline, see below) between the IF and THEN statements.
Or else add the missing END IF statement. That should do the trick.
 
HTH and regards, Daniel
 
Gesendet: Donnerstag, 21. August 2014 um 08:47 Uhr
Von: "Andreas Tille" <andreas@an3as.eu>
An: "Debian Mentors List" <debian-mentors@lists.debian.org>, 747259@bugs.debian.org
Betreff: [Debichem-devel] Bug#747259: [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

_______________________________________________
Debichem-devel mailing list
Debichem-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debichem-devel

Reply to: