2015-05-27 140 views
0

我有包括任何.cpp文件‘filesystem.h’當MSVC表達2013,編譯錯誤。 「錯誤c2228左邊必須有類/結構/聯合

」'.ptr'左邊的錯誤c2228必須有class/struct/union「。

它指向錯誤的filesystem.h文件,該文件是"\microsoft visual studio 12.0\vc\include"

template<class _Path> inline 
bool remove(const _Path& _Pval) 
{ // remove _Pval 
-->> return (_Unlink(_Pval._Ptr()) == 0); 
} 

謝謝你的任何建議的一部分。

+1

你有問題嗎?這是你的錯誤很可惜,但我們也沒有辦法,沒有_your_代碼。 – ForceBru

+0

嗨,我已經添加了代碼。它發生只是包括CPP 。 – ransh

回答

0

修復的Visual Studio安裝後,問題消失。

相關問題