- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c编译器(Ccompiler)
c++编译器(C++ compiler)
Visual C++ compiler options
/Gd, /Gr, and /Gz (calling conventions) see
Compiler options | set compiler options
/Gd
/Gr
/Gz
These options determine:
The order in which function arguments are pushed onto the stack.
Is the parameter removed from the stack by the calling function or by the calling function at the end of the call.
The name of the compiler that identifies the names of each function.
/Gd is the default setting, specifying the C calling convention for all functions other than the C++ member function and the function marked __stdcall or __fastcall.
/Gr specifies the __fastcall calling convention for all functions other than C++ member functions and functions marked as __cdecl or __stdcall. All __fastcall functions must have a prototype.
/Gz specifies the __stdcall calling convention for all the prototype C functions other than the number of variables that are used and the functions marked as __cdecl or __fastcall. All __stdcall functions must have a prototype.
Note that x86 Specific - by default, the C++ member function uses the calling convention when its this pointer is passed in the ECX register. All other arguments are pushed from right to left onto the stack, and the calling routine pops up the parameters of the member function from the stack. END x86 Specific is explicitly labeled as __cdecl, __fastcall, or __stdcall member functions using the specified call convention. A member function that uses a variable number of parameters always uses the __cdecl calling convention.
__cdecl details
For C __cdecl, using the following naming conventions (_) crossed at the beginning of the function name; any uppercase conversion is performed. The C++ function uses a different name modification scheme unless the declaration is extern C. For more information, see modifiers.
__fastcall details
Some __fastcall function arguments are passed in registers x86, Specific ECX, and EDX END x86 Specific, while the rest of the arguments are pushed from ri
您可能关注的文档
- 2003货运代理从业人员资格考试(国际货代基础知识)试卷及答案(2003 freight forwarders qualification examination (international freight forwarding basic knowledge) papers and answers).doc
- 18种易流产的食物(18 kinds of food that can easily be aborted).doc
- 2004年中考语文试题荆门市2004年初中升学考试试卷(2004 Chinese language examination questions, Jingmen 2004 junior high school entrance examination papers).doc
- 2004年度世界十大最佳敞篷车(The world's ten best convertible in 2004).doc
- 2004年度卫生防疫站工作总结(Summary of health and epidemic prevention station in 2004).doc
- 2004年度上海最佳餐馆(Best restaurant in Shanghai in 2004).doc
- 2005-2006学年度第一学期《宪法学》期末考试复习提要(2005-2006 school year, the first semester of the constitution final exam review summary).doc
- 2004年苏州市中考语文试题(Chinese examination questions in Suzhou in 2004).doc
- 2004年高考英语真题完形填空题·完全解析(江苏卷)(2004 college entrance examination in English Zhenti cloze test - analytical (Jiangsu volume)).doc
- 2005年亚洲公路摩托车锦标赛(珠海站)支援赛事(2005 Asian road motorcycle Championships (Zhuhai Railway Station) support events).doc
- c++职工信息管理系统(C++ staff information management system).doc
- c++链表(C++ linked list).doc
- c++面向对象程序设计模拟试题5(C++ object oriented programming simulation questions 5).doc
- c51交通灯程序设计(C51 traffic lights program design).doc
- c++ primer plus编程练习-第七章(c + + primer plus编程练习 - 第七章).doc
- ca-ce-ch(ca - ce - ch).doc
- c51编程 为变量与函数指定地址(C51 programming specifies the address for variables and functions).doc
- cadcamcae的有关资料(Cadcamcae's information).doc
- cadds5与tribon之比较(cadds5与tribon之比较).doc
- c++编译器和链接器(The c++ compiler and linker).doc
文档评论(0)