Microsoft Compiler是否同时定义了_int64和__int64? [英] Has Microsoft Compiler defined both _int64 and __int64?

查看:105
本文介绍了Microsoft Compiler是否同时定义了_int64和__int64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常不会在任何地方张贴任何东西,但今天我正在例外。

很抱歉,如果这不是正确的类别或我的语言不满意。


http://msdn.microsoft.com/en-us/library/29dh1w7z%28v=vs.100%29.aspx

明确指出 __ int64 (注意:有两个下划线!)是Microsoft编译器特定类型。


但是下面的代码只有一个下划线编译完全正常。

 

#include< stdint.h>

int main(int argc,char ** argv){
     _int64 a = 0;
a ++;
    返回0;
}

如果这是一个编译器类型,它应该记录下来。


我发现这个当我试图编译一个名为变量_int64(一个下划线)的开源库时,我确定可以重命名变量

所以它对我来说不是问题,但它让我很烦恼,我找不到任何关于它的参考。


// Rikard

解决方案

b
我试图让那些对这个问题有特权的人参与其中。我们将在接下来的过程中尽快给您提供更多信息。

感谢您的理解并积极参与MSDN论坛。

问候,

I don't usually post things anywhere, however today I am making an exception.
So sorry if this is not in the right category or if my language isn't satisfying.

http://msdn.microsoft.com/en-us/library/29dh1w7z%28v=vs.100%29.aspx
clearly states that __int64 (note: with two underscores!) is a Microsoft compiler specific type.

However the code below with just one underscore compiles perfectly fine.

#include <stdint.h> int main(int argc, char **argv) {     _int64 a = 0;
a++;     return 0; }

If this is a compiler type it should be documented as such.

I found this when trying to compile an open-source library that had named a variable _int64 (one underscore), sure I can rename the variable
so its not an issue for me but it annoys me that I cannot find any references about it.

// Rikard

解决方案

Hi,
I am trying to involve people who have privilege on this issue. We will be back to give you more information soon when getting further process on it.
Thanks for your understanding and active participation in the MSDN Forum.
Regards,


这篇关于Microsoft Compiler是否同时定义了_int64和__int64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆