diff options
Diffstat (limited to 'numpy/linalg/lapack_lite/make_lite.py')
-rwxr-xr-x | numpy/linalg/lapack_lite/make_lite.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/numpy/linalg/lapack_lite/make_lite.py b/numpy/linalg/lapack_lite/make_lite.py index 2370e0004..041e34692 100755 --- a/numpy/linalg/lapack_lite/make_lite.py +++ b/numpy/linalg/lapack_lite/make_lite.py @@ -35,6 +35,15 @@ extern doublereal dlamch_(char *); extern doublereal dlapy2_(doublereal *x, doublereal *y); +/* +f2c knows the exact rules for precedence, and so omits parentheses where not +strictly necessary. Since this is generated code, we don't really care if +it's readable, and we know what is written is correct. So don't warn about +them. +*/ +#if defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wparentheses" +#endif ''' class FortranRoutine(object): |