首頁 美術繪圖 | 美術設計 | 熱門標籤 | 首選 | 首頁宣傳 | 近期作品 論壇: 發表 | 美術工作 | 美術比賽 | 展覽活動 | 美術相關 | 一般討論 | 美術同好 CG 討論 :: Photoshop | Painter | 3D 行動 | AMP

【 立即註冊 】 : 更改個人資料 : : 登入

會員名稱: 登入密碼: 保持登入

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

發表新主題 回覆主題 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

| 1頁, 共1
人氣點閱:3693 發表人
sstream.tcc error: expected unqualified-id before '(' token 2011-10-04 19:10
分類: ✔️undef ✔️undef ✔️include
個人: ✔️undef ✔️undef ✔️include
/ / /

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>
Type



繪圖畫廊設計藝廊
攝影相簿留言板
最愛收藏分類標籤
暱稱: Type
註冊: 2002-11-30
發表: 11057
來自: vovo2000.com
V幣: 900565





資訊相關理論、技術、管理、應用、產品等
發表新主題 回覆主題