-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using gcc 8.1.0 on Ubuntu 14.04 #1207
Comments
FYI |
I am using
Logs for the above problem is here. I would much rather using the single file header format if possible (rather than adding more stuff to the cmake build chain). Update: The logs to using |
Ahh, but using the |
There might have been a versionning scheme change from GCC which makes the compiler detection fail... I cannot check that at the moment unfortunately. |
Could you compile a test program printing the following macro values?
|
Ahh, I just had to override the |
Using the default Ubuntu build environment for
cpp
on Travis-CI, I am getting a#unsupported GCC version
despite installinggcc-8
from theubuntu-toolchain-r-test
apt repository and setting the cmake C++ compiler to use g++ 8.1.0 (by setting it in the command line options viacmake -D -CMAKE_CXX_COMPILER="/usr/bin/cpp-8"
).The result of
cpp-8 --version
is:Furthermore, swapping
"/usr/bin/cpp-8"
with"/usr/bin/gcc-8"
gives me the same error.VIAPIKEY
andVIAPITOKEN
in the repository's environment variables by signing up for a free account on my company's website voiceit.io API version 2..travis.yml
as follows:git add . && git commit -m "message" && git push origin master
Note: The reason you aren't just going to fork the project is because Travis is kind of a pain to set up on forked repos.
What is the expected behavior?
No compiler error since we are using gcc 8.1.0
And what is the actual behavior instead?
error: #error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
Which compiler and operating system are you using? Is it a supported compiler?
on Ubuntu 14.04 LTS.
Also tried setting it to use
gcc-8
instead ofcpp-8
which is version:which should be in the range of gcc 4.9 ~ gcc 8.2
develop
branch?No I specifically used version 3.1.2 since the new 3.2.0 version increased the number of dependencies for my project (
json_fwd.hpp
).check out the logs for my Travis CI build. Specifically, search the page for "gcc-8 --version" which will show the gcc version. The error might not actually show up unless you check out the raw logs.
The text was updated successfully, but these errors were encountered: