This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/71199] Support overloadable attribute in GNU C front-end
- From: "yuxuanchiadm at 126 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Sep 2016 14:30:56 +0000
- Subject: [Bug c/71199] Support overloadable attribute in GNU C front-end
- Auto-submitted: auto-generated
- References: <bug-71199-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71199
--- Comment #7 from Yu Xuanchi <yuxuanchiadm at 126 dot com> ---
And there is another option. Because clang documentation say:
"However, when an overloadable function occurs within an extern "C" linkage
specification, it’s name will be mangled in the same way as it would in C."
So should we think nested function as implicit extern "C" and mangled it in C
way like "test.0000", "test.0001"?