Le mercredi 4 avril 2018 18:13:50 UTC+2, Dima Pasechnik a écrit :
>
> Could you post your patch here?
> It might be useful...

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
--- a/numpy/distutils/fcompiler/gnu.py	2018-04-04 16:10:47.278903223 +0200
+++ b/numpy/distutils/fcompiler/gnu.py	2018-04-04 16:11:33.839744609 +0200
@@ -35,8 +35,9 @@
     def gnu_version_match(self, version_string):
         """Handle the different versions of GNU fortran compilers"""
         # Strip warning(s) that may be emitted by gfortran
-        while version_string.startswith('gfortran: warning'):
-            version_string = version_string[version_string.find('\n')+1:]
+#        while version_string.startswith('gfortran: warning'):
+#            version_string = version_string[version_string.find('\n')+1:]
+	version_string = "7.2.0"
 
         # Gfortran versions from after 2010 will output a simple string
         # (usually "x.y", "x.y.z" or "x.y.z-q") for ``-dumpversion``; older

Reply via email to