-
Notifications
You must be signed in to change notification settings - Fork 211
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
Problem using check 0.11.0 on OS X #110
Comments
Are you using clang++ when compiling or clang? Travis-CI is setup to use clang, but I wonder if clang++ is being more picky. It may be that Travis-CI is not using the latest version of Clang, and maybe that is the reason you are hitting this. There is a test run on Jenkins to check that clang++ also works, and that test also did not fail. Again, that may not be the newest version of Clang. Feel free to submit a pull request to resolve it. |
Thanks Branden. Yes, I was compiling using clang's https://github.com/njh/EtherSia I wonder if there should be any C++ compiler test in the I have double checked and then created a Pull Request in #111. |
I am not opposed to adding additional tests, or in this situation checking Check with different compilers and environments. Right now Check is compiled on Linux (gcc, clang++ [older version], gcc cross compiled for mingw), OSX (clang), and Windows (Cygwin, MinGW, MinGW-64, MSVC, VS). Hopefully when the Jenkins environment is updated someday by CloudBees the Clang version will be increased and catch this. Trying clang++ and g++ on Travis-CI may help. |
I am slightly unclear about how Apple clang version numbers compare to off-the-self llvm-clang. It seems to loose the relationship at Apple LLVM version 7.0.0: The latest version of LLVM is 3.9.1: Debian stretch (testing) has Clang version 3.8: |
I've merged in the fix you provided, so I'll close this issue. Thanks for the fix! I'm as confused as you are on the Clang versions. |
Ok, thanks. Hopefully it won't cause any more problems. |
Hello,
I have just tried using check 0.11.0 on OS 10.12.1:
The error message from clang is:
I fixed it very easily by putting a space on either side of TM but I am confused as to why nobody else has seen this and why it hasn't been picked up my Travis. Perhaps because I am using a newer version of clang?
I am happy to send a Pull Request, if you think it is the right thing to do.
nick.
The text was updated successfully, but these errors were encountered: