Hash
unread,Nov 8, 2012, 4:14:17 PM11/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gg...@googlegroups.com
Dear all,
The following piece of code generate an error with g95 v0.93 :
> cat bug.f90
program main
real, dimension(:), allocatable :: a
namelist /nmlst/ a
end program main
The error ;
~/g95-install/bin/x86_64-unknown-linux-gnu-g95 bug.f90
In file bug.f90:3
namelist /nmlst/ a
1
Error: NAMELIST attribute conflicts with ALLOCATABLE attribute in 'a' at (1)
The code compile correclty with gfortran.
Is there a way to deal with allocatable arrays in namelist with g95?
Best regards,