[問題] vs2013 include thread compile error

看板C_and_CPP (C/C++)作者 (GN)時間10年前 (2016/03/07 11:59), 編輯推噓0(003)
留言3則, 2人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) windows10 & visual studio 2013 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) thread 問題(Question): 當使用#include <thread>時編譯不會過, 但拔掉後編譯又正常, 請問有人遇過嗎? 錯誤結果(Wrong Output): http://imgur.com/DKjYOTQ
http://imgur.com/K9DuaZu
-- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.125.212.5 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1457323140.A.5D8.html

03/07 12:19, , 1F
錯誤不是說沒有/EHsc選項不能用c++ exception嗎?
03/07 12:19, 1F

03/07 12:50, , 2F
沒有遇過,我vs2013用thread用的很正常
03/07 12:50, 2F

03/07 12:51, , 3F
而且compilation error看起來跟thread沒關係
03/07 12:51, 3F
文章代碼(AID): #1MtFo4NO (C_and_CPP)
文章代碼(AID): #1MtFo4NO (C_and_CPP)