[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:17 UTC 2011


The following commit has been merged in the master branch:
commit 823b9b25dc24b34277ce3344753a2dd98cf84436
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Mon Jun 20 18:45:07 2011 +0200

    Improve error path
    
    Bail out early in case of error. Do not support visual C++ earlier than v6

diff --git a/cfortran.h b/cfortran.h
index 98b561f..98733f0 100644
--- a/cfortran.h
+++ b/cfortran.h
@@ -9,12 +9,17 @@
 
 
 /* cfortran version year month day */
-#if defined __STDC__ || defined __cplusplus
-#define CFORTRAN_VERSION 20110615UL
-#else
+#if !(defined __STDC__ || defined __cplusplus)
 #error "cfortran need an AINSI C Compiler"
+#endif 
+
+#ifdef _MSC_VER
+#if _MSC_VER >= 1200
+#error "Need a least MS Visual > 7"
+#endif 
 #endif
 
+#define CFORTRAN_VERSION 20110615UL
 
 /* This file could be used under at your choice two license: */
 

-- 
UNNAMED PROJECT



More information about the debian-science-commits mailing list