Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/pipermail/sas-uploads/2016-March/015028.html
Дата изменения: Tue Mar 22 19:32:04 2016 Дата индексирования: Mon Apr 11 03:45:53 2016 Кодировка: Поисковые слова: п п п п п п п п п п п п п |
Package: utils-1.132.tgz - 999434 B MD5: c540e51f7055a7ca6e7f7d245fb2ae11 Uploaded by: Eduardo Ojero Pascual (SAS Integration - XMM-Newton SOC) <eduardo.ojero@sciops.esa.int> Accepted on: Tue Mar 22 14:57:22 2016 UTC The most recent ChangeLog entry says: Version 1.132 - 2016-03-22 (EO) ------------- + src/cfortran.h: Until now we have used cfortran.h version 4.1 1990-1998, from Burkhard Burow (burow@desy.de), to deal with the interface between C (C++) and Fortran. That version supported NAG Fortran but was not prepared to work with GNU Fortran. We have looked for an updated version of this file that could be able to work with GNU Fortran. That updated version is version 4.4, which is an improved version of the original version 4.1 but has been maintained by HEASARC Kevin McCarty et al, at least until 2008. + src/f90cxx.h: Removed obsolete code that was enabled only if SUNCC and SUNF90 macros were defined previously. These definitions were used to support using Sun C/C++ and Sun F90 Fortran compilers. The definition of NAGF90 and GNUCC, within the file itself was absurd. The only solution to switch on/off specific pieces of code is to do it through the configure. After checking in the SAS configure, the only macro defined when NAG Fortran is used is NAGf90Fortran, also used to select specific code in cfortran.h. There is no similar counterpart for GNU Fortran. To be able to enable the definitions of f90_io_init and f90_io_finish, only when NAG Fortran is used, we have set then within a block of preprocessor #ifdef-#endif block. The remaining definitions are left enabled always, either for NAG Fortran or GNU Fortran. Further testing will tell us how we have to modify this and possibly other files in this package (and possibly others), to be able to work with both compilers + test/testf90cxx.cc: f90init and f90finish enabled only if NAGf90Fortran macro defined.