Re: [PATCH] c++: Check module attachment instead of purview when necessary [PR112631]

2023-11-26 Thread Nathaniel Shead
On Thu, Nov 23, 2023 at 03:03:37PM -0500, Nathan Sidwell wrote: > On 11/20/23 04:47, Nathaniel Shead wrote: > > Bootstrapped and regtested on x86_64-pc-linux-gnu. I don't have write > > access. > > > > -- >8 -- > > > > Block-scope declarations of functions or extern values are not allowed > > whe

Re: [PATCH] c++: Check module attachment instead of purview when necessary [PR112631]

2023-11-23 Thread Nathan Sidwell
On 11/20/23 04:47, Nathaniel Shead wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu. I don't have write access. -- >8 -- Block-scope declarations of functions or extern values are not allowed when attached to a named module. Similarly, class member functions are not inline if attached t

[PATCH] c++: Check module attachment instead of purview when necessary [PR112631]

2023-11-20 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu. I don't have write access. -- >8 -- Block-scope declarations of functions or extern values are not allowed when attached to a named module. Similarly, class member functions are not inline if attached to a named module. However, in both these cas