首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
回上頁
sstream.tcc error: expected unqualified-id before '(' token
Type(Type) 2011/10/4 19:10

sstream.tcc error: expected unqualified-id before '(' token




代碼:

/sstream.tcc:116: error: expected unqualified-id before '(' token
/sstream.tcc:118: error: expected unqualified-id before '(' token


It usually happened when your toolchain has default max/min
pre-defined, especially when you need to do some cross-platform-compiling.

Just try to find which C++/CPP file include <sstream>
and
place un-define related macro before it.

e.g. workaround
代碼:

#undef max
#undef min
#include <sstream>

(3,702 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體
回上頁

"sstream.tcc error: expected unqualified-id before '(' token" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2024