From e00d5a705dd0f12d59c2974f30f4e4aace690361 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 30 Jan 2021 18:24:51 -0800 Subject: [PATCH] compile vmalloc tests with C99 This should have been included in fe3f9411d2c59b463ab1b64eecfd19f2db55d2fc. --- rtest/test_vmalloc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtest/test_vmalloc.py b/rtest/test_vmalloc.py index 40c2a09c3..8b3ba9b92 100644 --- a/rtest/test_vmalloc.py +++ b/rtest/test_vmalloc.py @@ -24,8 +24,8 @@ def test_vmalloc(): if platform.system() == 'Windows': subprocess.check_call(['cl', '-I', lib, '-nologo', src, '-Fe:', dst]) else: - subprocess.check_call([os.environ.get('CC', 'cc'), '-Wall', '-Wextra', - '-Werror', '-I', lib, '-o', dst, src]) + subprocess.check_call([os.environ.get('CC', 'cc'), '-std=gnu99', + '-Wall', '-Wextra', '-Werror', '-I', lib, '-o', dst, src]) # run the unit tests subprocess.check_call([dst]) -- 2.40.0