Skip to content

Commit c4740bc

Browse files
committed
embind: Ensure embind works under c++11.
We no longer need to test c++17 since that is the default used, but we should ensure we maintain compatibility with c++11.
1 parent e6415d6 commit c4740bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_other.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,8 +2972,8 @@ def test_embind_closure_no_dynamic_execution(self):
29722972
})
29732973
@parameterized({
29742974
'': [],
2975-
# Ensure embind compiles under C++17 where "noexcept" became part of the function signature.
2976-
'cxx17': ['-std=c++17'],
2975+
# Ensure embind compiles under C++11 which is the miniumum supported version.
2976+
'cxx11': ['-std=c++11'],
29772977
'o1': ['-O1'],
29782978
'o2': ['-O2'],
29792979
'o2_mem_growth': ['-O2', '-sALLOW_MEMORY_GROWTH', test_file('embind/isMemoryGrowthEnabled=true.cpp')],

0 commit comments

Comments
 (0)