Source: hdf-eos4
Version: 2.16v1.00.dfsg.1-2
debian/rules reads:
10 DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-I/usr/include/hdf "
Surely it shouldn't be
10 DEB_CONFIGURE_SCRIPT_ENV += CPPFLAGS="-Df2cFortran -I/usr/include/hdf"
instead?
* Rationale
I don't know where this custom originated from, neither whether
it's still in use. But nevertheless still, the functions that
are intended to be called from Fortran bear a leading underscore
or two, like:
$ nm libgctp-dev_1.0-1_i386/usr/lib/libgctp.a | grep -E _\$
00000000 T gctp_
$
As of hdf-eos4 2.16v1.00.dfsg.1-2, no function is like that, not
even the functions that are, in fact, intended to be called from
Fortran:
$ nm libhdfeos-dev_2.16v1.00.dfsg.1-2_i386/usr/lib/libhdfeos.a | grep -E _\$
$
I don't mind much about which way is right, but since one can't
use both -funderscoring and -fno-underscoring at the same time,
I plead for a bit of consistency here.
* See also
http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfno_002dunderscoring_007d-207
--
FSF associate member #7257
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]