diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2015-10-10 11:22:36 -0600 |
|---|---|---|
| committer | Charles Harris <charlesr.harris@gmail.com> | 2015-10-10 11:22:36 -0600 |
| commit | 9fbc5fa214e862ba54b2f0e2aee950f7d33cfb2a (patch) | |
| tree | 032b33950dc0f664a8abfd41bbbef1c60af573af /numpy | |
| parent | 0703f55f4db7a87c5a9e02d5165309994b9b13fd (diff) | |
| parent | dc17f218c0f3165931d667594662acebb05fefce (diff) | |
| download | numpy-9fbc5fa214e862ba54b2f0e2aee950f7d33cfb2a.tar.gz | |
Merge pull request #6436 from juliantaylor/conf-warnings
MAINT: remove Wreturn-type warnings from config checks
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/distutils/command/autodist.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/command/autodist.py b/numpy/distutils/command/autodist.py index af53c5104..d5e78963c 100644 --- a/numpy/distutils/command/autodist.py +++ b/numpy/distutils/command/autodist.py @@ -55,6 +55,7 @@ main() #if (! defined __GNUC__) || (__GNUC__ < 4) #error gcc >= 4 required #endif + return 0; } """ return cmd.try_compile(body, None, None) @@ -72,6 +73,7 @@ int %s %s(void*); int main() { + return 0; } """ % (attribute, name) return cmd.try_compile(body, None, None) != 0 |
