Javascript jsc c++20 testing quirk fix

This commit is contained in:
William S Fulton 2025-04-21 12:41:29 +01:00
parent b0c7e23858
commit 4574198553
2 changed files with 11 additions and 0 deletions

View File

@ -329,6 +329,12 @@ jobs:
CPPSTD: c++20 CPPSTD: c++20
GCC: 13 GCC: 13
os: ubuntu-22.04 os: ubuntu-22.04
- SWIGLANG: javascript
ENGINE: jsc
CPPSTD: c++20
VER: '4.1'
GCC: 13
os: ubuntu-22.04
- SWIGLANG: javascript - SWIGLANG: javascript
ENGINE: napi ENGINE: napi
VER: '22' VER: '22'

View File

@ -1,5 +1,10 @@
%module typemap_array_qualifiers %module typemap_array_qualifiers
// Including this fragment ensures math.h is included before the '#define volatile' below,
// without which gave peculiar partial specialization errors for javascript jsc and -std=c++20
// - volatile is used in the template parameters of numeric_limits on Linux.
%fragment("<math.h>");
%define CLEAR_SWIGTYPE_TYPEMAPS %define CLEAR_SWIGTYPE_TYPEMAPS
%typemap(in) %typemap(in)
SWIGTYPE, SWIGTYPE,