Re: [PR C++ 94426] Lambda linkage

2020-04-16 Thread Nathan Sidwell
On 4/16/20 6:50 AM, Iain Sandoe wrote: Hi Nathan, Iain Sandoe wrote: Nathan Sidwell wrote: My fix for 94147 was confusing no-linkage with internal linkage, at the language level. That's wrong. (the std is confusing here, because it describes linkage of names (which is wrong), and lambda

Re: [PR C++ 94426] Lambda linkage

2020-04-16 Thread Iain Sandoe via Gcc-patches
Hi Nathan, Iain Sandoe wrote: > Nathan Sidwell wrote: > >> My fix for 94147 was confusing no-linkage with internal linkage, at the >> language level. That's wrong. (the std is confusing here, because it >> describes linkage of names (which is wrong), and lambdas have no names) >> >> Lambda

Re: [PR C++ 94426] Lambda linkage

2020-04-14 Thread Iain Sandoe via Gcc-patches
Hi Nathan, Nathan Sidwell wrote: > My fix for 94147 was confusing no-linkage with internal linkage, at the > language level. That's wrong. (the std is confusing here, because it > describes linkage of names (which is wrong), and lambdas have no names) > > Lambdas with extra-scope, have linka