Does C have a standard ABI?

前端 未结 8 1985
谎友^
谎友^ 2020-11-28 06:34

From a discussion somewhere else:

C++ has no standard ABI

But neither does C, right?

On any given platform it pretty much does. It wouldn\'

8条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 07:08

    C does not have a standard ABI. This is easily illustrated by all the calling conventions (cdecl, fastcall and stdcall) that are used out there. Each is a different ABI.

提交回复
热议问题