Get the latest tech news
Neither GCC nor Clang are compliant with standard C++
, function types have a "language linkage" associated with them: this is either "C++", "C", or some other implementation-defined language. and the standard very explicitly states that Two function types with different language linkages are distinct types even if they are otherwise identical.
None
Or read this on Hacker News