Building with clang for new C++ standard
I am using the 32-bit version of Fedora 16 on an Intel system. This simple C++ program:
Code:
#include <memory> Quote:
Code:
clang++ -g -Wall -pedantic -ansi -std=c++0x -o Value Value.cpp Quote:
|
Have you looked at this? http://clang.llvm.org/cxx_status.html
|
I believe I have seen that page or something similar to it. Curiously, the page says nothing about std::shared_ptr. Being that I'm using the lastest version of Fedora, I have a fairly recent version of clang, 2.9. I would think the features I'm trying to use in this simple program would have been supported, yet I'm getting many errors. Seems like things should work better, or perhaps different command line arguments are needed.
|
All times are GMT -5. The time now is 09:29 PM. |