Article 4HK4F [$] C, Fortran, and single-character strings

[$] C, Fortran, and single-character strings

by
corbet
from LWN.net on (#4HK4F)
The calling interfaces between programming languages are, by their nature,ripe for misunderstandings; different languages can have subtly differentideas of how data should be passed around. Such misunderstandings oftenhave the effect of making things break right away; these are quicklyfixed. Others can persist for years or even decades before jumping out ofthe shadows and making things fail. A problem of the latter varietyrecently turned up in how some C programs are passing strings to Fortransubroutines, with unpleasant effects on widely used packages like LAPACK.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments