Open wsc1 opened 5 years ago
Perhaps check the GCC version, just to make sure.
If GCC is not installed, or the version is too old, add something along the lines of
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install gcc-8 -y
thanks for the suggestion. tried that, same error :(
That's a shame. Not sure what else may be wrong. What you could do is to run find /usr/include -type f -name 'stdatomic.h
on Travis, and see where the file is located. Perhaps you would have to add an include path for Cgo.
despite the fact that the compiler version supports it and CFLAGS are set, we're getting no such file or directory for stdatomic.h