diff options
| author | forfun <834352945@qq.com> | 2020-05-30 12:28:36 +0800 |
|---|---|---|
| committer | forfun <834352945@qq.com> | 2020-05-30 12:28:36 +0800 |
| commit | 7d708209d035247cd80de8153605c317798759db (patch) | |
| tree | f68199ad192ac716fe47d82b60fe5532c0d91528 /numpy | |
| parent | a906c1fa8cb68e937c87bfe63df07073e983338b (diff) | |
| download | numpy-7d708209d035247cd80de8153605c317798759db.tar.gz | |
investigate into warning usage, fixes deprecated warn
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/include/numpy/npy_1_7_deprecated_api.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/include/numpy/npy_1_7_deprecated_api.h b/numpy/core/include/numpy/npy_1_7_deprecated_api.h index 440458010..a4f90e019 100644 --- a/numpy/core/include/numpy/npy_1_7_deprecated_api.h +++ b/numpy/core/include/numpy/npy_1_7_deprecated_api.h @@ -13,11 +13,10 @@ #define _WARN___LOC__ __FILE__ "(" _WARN___STR1__(__LINE__) ") : Warning Msg: " #pragma message(_WARN___LOC__"Using deprecated NumPy API, disable it with " \ "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION") -#elif defined(__GNUC__) +#else #warning "Using deprecated NumPy API, disable it with " \ "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" #endif -/* TODO: How to do this warning message for other compilers? */ #endif /* |
