FIX Specify C++11 compiler for sklearn/svm/_newrand (#17767)

This commit is contained in:
Juan Carlos Alfaro Jiménez 2020-06-30 00:08:12 +02:00 committed by GitHub
parent 2b503bdc08
commit c4c0fe2ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ def configuration(parent_package='', top_path=None):
join('src', 'newrand')],
depends=[join('src', 'newrand', 'newrand.h')],
language='c++',
# Use C++11 random number generator fix
extra_compile_args=['-std=c++11']
)
# Section LibSVM