$(bindings_cxx_libsigrokcxx_la_include_HEADERS) \
$(nodist_bindings_cxx_libsigrokcxx_la_include_HEADERS)
-$(AM_V_at)rm -f $(java_cleanfiles)
- $(AM_V_GEN)$(SWIG) -c++ -java -package org.sigrok.core.classes \
+ $(AM_V_GEN)$(SWIG) -c++ -Dnoexcept= -java -package org.sigrok.core.classes \
-Ibindings -I$(JCLS) $(local_includes) -I$(srcdir) $(JNI_CPPFLAGS) \
-outdir $(JCLS) -o $@ $(srcdir)/$(JSWG)
ext_modules = [
Extension('sigrok.core._classes',
sources = [vpath('sigrok/core/classes.i')],
- swig_opts = ['-c++', '-threads', '-Isigrok/core', '-I..', '-I' + srcdir_parent] +
- ['-I%s' % i for i in includes],
+ swig_opts = ['-c++', '-threads', '-Dnoexcept=', '-Isigrok/core',
+ '-I..', '-I' + srcdir_parent] + ['-I%s' % i for i in includes],
extra_compile_args = ['-Wno-uninitialized'],
include_dirs = includes,
library_dirs = libdirs,