[SCM] UNNAMED PROJECT branch, master, updated. debian/4.4-13-30-gc8f6f09

Bastien ROUCARIÈS roucaries.bastien at gmail.com
Sun Jun 26 16:15:19 UTC 2011


The following commit has been merged in the master branch:
commit 37a6518a44270af84bf673701c6f969ed82c262b
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Mon Jun 20 19:53:57 2011 +0200

    Better warning for gcc. if gcc >= 4 guess gfortran

diff --git a/cfortran.h b/cfortran.h
index f73bd0f..345ed2b 100644
--- a/cfortran.h
+++ b/cfortran.h
@@ -186,7 +186,12 @@ FOR ANY SUPPORT OR SERVICE OF THE CFORTRAN.H PACKAGE.
 #if !(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran)||defined(sunFortran)||defined(IBMR2Fortran)||defined(CRAYFortran))
 #if !(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran))
 /* If no Fortran compiler is given, we choose one for the machines we know.   */
-#if defined(__GNUC__) || defined(WIN32) /* 10/2009 BR: warm if guess */
+#if defined(__GNUC__)
+#if __GNUC__ == 3
+#warning "Please specify the fortran compiler using -D flags. Try to guess the compiler used"
+#endif
+#endif
+#if defined(WIN32) /* 10/2009 BR: warm if guess */
 #warning "Please specify the fortran compiler using -D flags. Try to guess the compiler used"
 #endif
 #if defined(lynx)

-- 
UNNAMED PROJECT



More information about the debian-science-commits mailing list