[Bug c++/87207] ODR issue with static functions and lambda templates
blastrock at free dot fr
gcc-bugzilla@gcc.gnu.org
Tue Sep 4 08:23:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87207
--- Comment #2 from blastrock at free dot fr ---
This seems to be due to this symbol in each .o file:
0000000000000000 W
shared::shared<async_resumable<toto()::{lambda()#1}>(toto()::{lambda()#1}&&)::{lambda()#1}>(toto()::{lambda()#1})::{lambda()#1}::~shared()
It is weak and global, but I think it should be local since it depends on
toto() which is static.
More information about the Gcc-bugs
mailing list