This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array
- From: "pdande1 at dow dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Apr 2013 17:13:19 +0000
- Subject: [Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array
- Auto-submitted: auto-generated
- References: <bug-55901-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55901
pdande1 at dow dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pdande1 at dow dot com
--- Comment #1 from pdande1 at dow dot com 2013-04-08 17:13:19 UTC ---
program characterconversions
integer :: i=123
character(len=*) :: s
write(s,*) i
print *,s
end program
I am getting the below error while executing the above program (gcc version
4.8.0 20130302 (experimental) [trunk revision 196403] (GCC))
Error: Entity with assumed character length must be a dummy argument or a
PARAMETER|
||=== Build finished: 1 errors, 0 warnings (0 minutes, 0 seconds) ===|