2015-05-20 198 views
-1

我需要構建一個在VC 2010中構建的已購買庫(包含源代碼)。我們必須使用VC6構建。我遇到了簽名和未簽名的「long long」。我正在使用「_int64」作爲簽名類型,但無法找到任何無符號類型。有沒有人跑過解決方案?如果這是有記錄的道歉,我沒有找到任何運氣。在VC6中構建,需要unsigned long long

+1

我不確定你爲什麼「找不到任何東西」,它是[在MSDN上的'__int64'文件上](https://msdn.microsoft.com/zh-cn/library/aa261215% 28V = vs.60%29.aspx) –

回答

1

__int64是供應商特定的基本類型。它可以與unsigned調節器組合,就像:

unsigned char    unsigned __int8 
unsigned short    unsigned __int16 
unsigned int    unsigned __int32 
unsigned long    unsigned __int32 
(unsigned long long)   unsigned __int64 
          (unsigned __int128) 

凡括號內的名字都沒有在VC6可用,但在Visual C的當前版本都支持++。