Hi, Thomas, Tomas,

Doesn't this issue demonstrate the warning and advice given in the  last 
paragraph of section 6.6 
of the "Writing R Extensions" manual:

<ref>
Passing character strings from C to Fortran or vice versa is not portable (and 
to Fortran 90 or later is even less so). We have found that it helps to ensure 
that a C string to be passed is followed by several nuls (and not just the one 
needed as a C terminator). But for maximal portability character strings in 
Fortran should be avoided.
</ref>

Avoid.

Berend

> On 3 May 2019, at 19:25, Thomas König <t...@tkoenig.net> wrote:
> 
> Hi Tomas,
> 
> thanks a lot for your analysis.  I have created
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329
> for this, and put you in CC (if your e-mail address
> for GCC bugzilla is still current).
> 
> Regards
> 
>       Thomas
> 
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to