GithubHelp home page GithubHelp logo

cpp11check's Introduction

This uses SCons (www.scons.org), an equivalent of Make,
to look for C++11 features in your C++ compiler.

Pick a compiler by editing local.cfg.
cpp_compiler=/opt/gcc-4.3.1/bin/g++

See what is compiled by running with --echo.
$ scons --echo

If scons is caching results, and you want to see them,
remove its temporary files and run again.
$ rm -rf .scon*

Sample output:
-bash-3.2$ scons
scons: Reading SConscript files ...
INFO:SconsRoot:running with -j 2
Checking whether the C++ compiler worksyes
Checking for c++0x conformance...-std=c++11?...-std=c++0x?...yes
Checking snippet alias templates...no
Checking snippet alternative function syntax...no
Checking snippet explicit final...no
Checking snippet explicit override...no
Checking snippet explicitly defaulted special member functions...no
Checking snippet explicitly deleted member functions...no
Checking snippet generalized_constant...no
Checking snippet hash tables...no
Checking snippet initializer lists...no
Checking snippet lambda functions...yes
Checking snippet long long int...yes
Checking snippet new string literals...no
Checking snippet nullptr...no
Checking snippet object construction constructors calling constructors...no
Checking snippet object construction improvement using base constructor...no
Checking snippet polymorphic wrappers for function objects...no
Checking snippet random numbers...no
Checking snippet range-based for-loop...no
Checking snippet regex...no
Checking snippet right angle brackets...yes
Checking snippet shared_ptr...no
Checking snippet sizeof on member objects...no
Checking snippet static_assert...no
Checking snippet strongly-typed enum...no
Checking snippet templates with variable number of values...no
Checking snippet tuple...no
Checking snippet type inference auto...yes
Checking snippet type inference decltype...yes
Checking snippet type traits metaprogramming...no
Checking snippet uniform initialization...no
Checking snippet unrestricted unions...no
Checking snippet user-defined literals...no
Checking snippet using syntax instead of typedefs...no
Checking snippet wrapper reference...no
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
Build succeeded.

cpp11check's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cpp11check's Issues

License?

Hello,

The collection of C++11 feature tests looks really useful, and I'd like to incorporate it into some of my OSS code, but I couldn't find any license info. What license is it distributed under? MIT or BSD would be preferable. Thanks!

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.