------- Comment #3 from jhuddleston at hughes dot net  2008-07-22 13:17 -------
Created an attachment (id=15938)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15938&action=view)
zip container with two files: C++ and GFORTRAN

burnus at gcc dot gnu dot org requested a small sample set demonstrating the
issue

My current version from subversion is 138025

Thank you.  I went through four scenarios and documented them in the small
sample set. Of the four, the case that works for both CHARACTER(*) and
CHARACTER*(*) is when an integer is passed in front of the string AND if the
size of the string is passed at the end.

If the C++ code does not pass an integer before the string, the *(*) will fail.
 This only appears in the C++ / GFortran interaction which is why I sent this
to the GCC group.  I keep the most current GCC/G++/GFORTRAN code from
subversion and build nightly under Windows Cygwin.

John


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36894

Reply via email to