Hi!
I'm on OS X, and have been eager to try C++14 for months. However I am
stuck with the following for which I have found no relevant
information. Is this being worked on?
Thanks in advance!
$ cat >foo2.cc <<EOF
template <typename T>
struct binary_expr {
auto operator()(unsigned i){
return 1;
}
};
int main(){
binary_expr<double> b;
return 0;
}
EOF
$ clang++-mp-3.5 -std=c++14 foo2.cc -g
error: debug information for auto is not yet supported
1 error generated.
$ clang++-mp-3.5 -std=c++14 foo2.cc
$ clang++-mp-3.5 --version
clang version 3.5.0 (branches/release_35 216817)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
It's the same with the Apple's version of clang.
$ clang++ --version
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
See also http://stackoverflow.com/questions/24617679/
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users