Giter Club home page Giter Club logo

Comments (7)

brarcher avatar brarcher commented on July 21, 2024

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.

njh avatar njh commented on July 21, 2024

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.

brarcher avatar brarcher commented on July 21, 2024

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.

brarcher avatar brarcher commented on July 21, 2024

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.

njh avatar njh commented on July 21, 2024

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.

brarcher avatar brarcher commented on July 21, 2024

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.

njh avatar njh commented on July 21, 2024

Ok, thanks. Hopefully it won't cause any more problems.

from check.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.