VC error C4430錯誤解決方法

在調試vc程序時有時會報:

error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

解決方法:

打開工程屬性configuration->C/C++ ->Command Line,增加/wd4430選項


發佈了71 篇原創文章 · 獲贊 37 · 訪問量 25萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章