Comments (7)
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.
from check.
Thanks Branden. Yes, I was compiling using clang's c++
using -std=c++11
- it is Arduino code:
https://github.com/njh/EtherSia
I wonder if there should be any C++ compiler test in the check
test-suite?
But I guess there are a lot of different permutations (different compilers, different coding standards, different OSs...)
I have double checked and then created a Pull Request in #111.
from check.
I wonder if there should be any C++ compiler test in the check test-suite?
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.
from check.
I attempted to run g++ and clang++ on Travis-CI, and in both cases Check built successfully. Perhaps the version in use there is also out-of-date from what you are using.
from check.
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:
https://gist.github.com/yamaya/2924292
The latest version of LLVM is 3.9.1:
http://releases.llvm.org/download.html
Debian stretch (testing) has Clang version 3.8:
https://packages.debian.org/search?keywords=clang
from check.
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.
from check.
Ok, thanks. Hopefully it won't cause any more problems.
from check.
Related Issues (20)
- Issue: Not able use Check-C framework with arm-none-eabi-gcc compiler HOT 3
- Question: make subunit dependency explicit HOT 1
- cmake_minimum_required(...) has a wrong version required HOT 2
- Restore scan-build checks for snprintf replacement
- check_check and check_check_export fail on Guix powerpc64le-linux HOT 3
- Glenn Washburn's JUnit patch was never merged back then. What happened? HOT 2
- migrate open SourceForge bugs and features to GitHub
- several potential bugs of NULL Pointer Dereference HOT 3
- Wrong binaries on Windows HOT 2
- Enhancement: Adding Check test discovery for CMake
- Check Installation on Windows 64 Bit HOT 3
- Can't compile on Ubuntu with Codeblocks HOT 1
- Add assert functions for ASCII character
- Add assert functions for wide character and string of wide characters
- Deeper integration in CLion for detailed information HOT 1
- MacOS M1 with brew & CMAKE installation has missing files
- Custom report output HOT 1
- Feedback: it feels like libcheck's default setup is hostile to debuggers
- cmake deprecation warning - policy CMP0076
- Linking error with MSYS2 when compiling with cmake
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check.