Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-24 Thread Jason Merrill
On 1/23/25 11:50 AM, yxj-github-437 wrote: On 1/15/25 7:36 PM, yxj-github-437 wrote: On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struc

Re: Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-23 Thread yxj-github-437
>On 1/15/25 7:36 PM, yxj-github-437 wrote: >>> On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struct __va_list) is a

Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-22 Thread Richard Earnshaw (lists)
On 21/01/2025 21:58, Jason Merrill wrote: On 1/15/25 7:36 PM, yxj-github-437 wrote: On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struc

Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-21 Thread Jason Merrill
On 1/15/25 7:36 PM, yxj-github-437 wrote: On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struct __va_list) is an internal linkage. so atte

Re: Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-15 Thread yxj-github-437
> On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: >> From: yxj-github-437 <2457369...@qq.com> >> >> This patch attempts to fix an error when build module std. The reason for the >> error is __builrin_va_list (aka struct __va_list) is an internal linkage. so >> attempt to handle this builtin ty

Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-15 Thread Jason Merrill
On 1/15/25 10:19 AM, yxj-github-437 wrote: On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struct __va_list) is an internal linkage. so att

Re: Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-15 Thread yxj-github-437
>On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: >> From: yxj-github-437 <2457369...@qq.com> >> >> This patch attempts to fix an error when build module std. The reason for the >> error is __builrin_va_list (aka struct __va_list) is an internal linkage. so >> attempt to handle this builtin typ

Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-13 Thread Jason Merrill
On 1/12/25 7:20 AM, Nathaniel Shead wrote: On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struct __va_list) is an internal linkage. so att

Re: [PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-12 Thread Nathaniel Shead
On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote: > From: yxj-github-437 <2457369...@qq.com> > > This patch attempts to fix an error when build module std. The reason for the > error is __builrin_va_list (aka struct __va_list) is an internal linkage. so > attempt to handle this builtin type by

[PATCH] c++/modules: Fix linkage checks for exported using-decls

2025-01-03 Thread xxx
From: yxj-github-437 <2457369...@qq.com> This patch attempts to fix an error when build module std. The reason for the error is __builrin_va_list (aka struct __va_list) is an internal linkage. so attempt to handle this builtin type by identifying whether DECL_SOURCE_LOCATION (entity) is BUILTINS_