Debian Package rebuild

Rebuild of the Debian archive with clang

"Default is not C++11" build failure(s)
clang 3.4
Return to the list
This code will fail to build with clang++ with the default args:
#include 
int main(int argc, char* args[]) {
	std::shared_ptr somePtr;
	return 0;
};
# Works:
$ g++ foo.cpp

# Fails
$  clang++ foo.cpp
foo.cpp:4:7: error: no member named 'shared_ptr' in namespace 'std'
        std::shared_ptr somePtr;
        ~~~~~^
foo.cpp:4:21: error: expected '(' for function-style cast or type construction
        std::shared_ptr somePtr;
                        ~~~^
foo.cpp:4:23: error: use of undeclared identifier 'somePtr'
        std::shared_ptr somePtr;
                             ^
3 errors generated.

# Fails again
$ g++ -std=c++11 foo.cpp
foo.cpp:1:13: error: invalid use of 'auto'
 auto k() -> auto;
             ^~~~


Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0 - 6.0 - 8.0.1 - 9.0.1 - 10.0.0 - 11.0.0 - 12.0.1 - 13.0.0
No error detect for version 3.4
0 errors
Return to the list