Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
clang ++はローカル静的変数のスレッドセーフな初期化を行いますか?
誤解を招くような名前の-fno-threadsafe-statics. Apple clang バージョン 2.0 (tags/Apple/clang-139) (LLVM 2.9svn ベース) を使用しています。
-fno-threadsafe-statics
はい、GCCと同じです(したがって、でオフにすることもできます-fno-threadsafe-statics)