Why does mismatched prototype and definition with empty argument list give different results in GCC and Clang? – stackoverflow.com

Given (simplified) code snippet: void foo(int a, int b); // declaration with prototype int main(void) { foo(1, 5); // type-checked call (i.e. because of previous prototype) return 0; } void ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why does mismatched prototype and definition with empty argument list give different results in GCC and Clang? – stackoverflow.com"