https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476
--- Comment #16 from Maciej S. Szmigiero ---
> If you rely on the standard guarantee that extern "C" and extern "C++" make
> function types different, you probably get compilation errors.
It's the other way around - functions in standard-compli
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476
--- Comment #14 from Maciej S. Szmigiero ---
> This is not so useful in practice because most compilers don't make extern
> "C" and extern "C++" differentiate function types (implying calling
> conventions etc.).
The standard allows different
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476
--- Comment #11 from Maciej S. Szmigiero ---
(In reply to Andrew Pinski from comment #9)
> Does these two functions the same name then?
> ```
> namespace a {
>extern "C" void f(void);
> }
>
> namespace {
> extern "C" void f(void) {}
> }
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476
Maciej S. Szmigiero changed:
What|Removed |Added
CC||mail at maciej dot
szmigiero.name