3 ms·
A convention is a convention. It doesn't need a spec.
by Retra 12y ago
A convention is a convention. It doesn't need a spec.
- asveikau 12y agoC is a language with a spec. When you say "c calling convention" this implies that it is C, and not something else. There are various ABIs, some with specs and some with unwritten rules, but two C programs can run on the same platform conforming to differing ABIs and still be both C. If this sounds far fetched, consider for example that it's common to experience a lot of pain trying to link code compiled with GCC against code compiled with the ms compiler or vice-versa. Same language, CPU, OS. Differing abi.