I am having an import issue with <random/uniform.h>
.
The issue is because random was introduced in c++11 (Why is the c++ standard library not working?). I can specify support for c++11 with -std=c++11 or -std=c++x0, but it won't work with g++. I tried using clang, but I am not sure if I have the required min clang version (4.2).
clang++ --version
gives
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
When I check Xcode for updates, there are none.
Aucun commentaire:
Enregistrer un commentaire