今天在公升級miniblink到m53.
在document.h這裡死活編不通過,總是提示
heaphashset> m_associatedformcontrols;
這裡無法獲取element的真實大小。
確實這個element是用前置宣告的,而且member這玩意是blink gc裡面的,這個member一層層的下去,在visitorhelper::mark裡需要這個element的大小。
但奇怪的是老blink能編過。
研究了下,原來是新blink的hashset多了幾句hashset(hashset&&) = default;
這貨會啟用hashset的建構函式裡heapallocator ::allocatehashtablebacking的呼叫,這裡面就會層層呼叫到visitorhelper::mark。
不寫這句的話,編譯器在沒有具體用到hashset的建構函式的時候不會去生成他,也就不會生成visitorhelper::mark的實力。
不知道為啥blink在gcc這樣就能編通過,奇怪····
rtmpdump在vs2015下的編譯
這裡就不對編譯錯誤進行截圖了,直接上解決方案。第一步修改rtmp sys.h檔案,將 win32巨集下 的內容修改為以下內容 include include if defined msc ver msc ver 1900 msvc define snprintf snprintf define vs...
瑞士軍刀DLib的VS2015編譯
dlib的官方解釋是 在windows中編譯dlib是比較簡單的,先說一下我的配置以及相關的依賴庫 set dlib use cuda off cache string force toggle preprocessor switch dlib use cuda if using old visua...
VS2015編譯之C4996的解決
vs2015編譯程式時,出現如下錯誤 error c4996 fopen this function or variable may be unsafe.consider using fopen s instead.to disable deprecation,use crt secure no w...