Skip to content

Commit 6cf36d4

Browse files
committed
Force using C11 for Guile builds on Travis CI
Compiling code including Guile headers with default compiler options doesn't work any more since a recent (~2020-05-05) update to Guile 3.0.2 on Homebrew (2.2.7 was used previously) due to error: redefinition of typedef 'scm_print_state' is a C11 feature in libguile/print.h and scm.h headers. Work around this by enabling C11 for this build by explicitly setting CSTD. Note that we can't just use CPP11=1 for this build, because this would also enable C++11-specific tests that are not currently supported by Guile module.
1 parent ae0efd3 commit 6cf36d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ matrix:
428428
env: SWIGLANG=go
429429
- compiler: clang
430430
os: osx
431-
env: SWIGLANG=guile
431+
env: SWIGLANG=guile CSTD=c11
432432
- compiler: clang
433433
os: osx
434434
env: SWIGLANG=java

0 commit comments

Comments
 (0)