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

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) >> >>

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

[PR C++ 94426] Lambda linkage

2020-04-10 Thread Nathan Sidwell
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 linkage. However, at the implementation-level