Re: GCC defined(__cplusplus) one rawhide

2025-03-13 Thread Sérgio Basto via devel
On Thu, 2025-03-13 at 14:53 +, Jonathan Wakely wrote: > On Tue, 11 Feb 2025 at 22:44, Sérgio Basto wrote: > > > > On Tue, 2025-02-11 at 21:45 +, Jonathan Wakely wrote: > > > On Tue, 28 Jan 2025 at 09:07, Jakub Jelinek > > > wrote: > > > > > > > > On Mon, Jan 27, 2025 at 07:31:35PM +

Re: GCC defined(__cplusplus) one rawhide

2025-03-13 Thread Jonathan Wakely
On Tue, 11 Feb 2025 at 22:44, Sérgio Basto wrote: > > On Tue, 2025-02-11 at 21:45 +, Jonathan Wakely wrote: > > On Tue, 28 Jan 2025 at 09:07, Jakub Jelinek wrote: > > > > > > On Mon, Jan 27, 2025 at 07:31:35PM +, Sérgio Basto via devel > > > wrote: > > > > I just want check, if I'm thinki

Re: GCC defined(__cplusplus) one rawhide

2025-02-11 Thread Sérgio Basto via devel
On Tue, 2025-02-11 at 21:45 +, Jonathan Wakely wrote: > On Tue, 28 Jan 2025 at 09:07, Jakub Jelinek wrote: > > > > On Mon, Jan 27, 2025 at 07:31:35PM +, Sérgio Basto via devel > > wrote: > > > I just want check, if I'm thinking correctly before submitting a > > > fix in > > > gtest packag

Re: GCC defined(__cplusplus) one rawhide

2025-02-11 Thread Jonathan Wakely
On Tue, 28 Jan 2025 at 09:07, Jakub Jelinek wrote: > > On Mon, Jan 27, 2025 at 07:31:35PM +, Sérgio Basto via devel wrote: > > I just want check, if I'm thinking correctly before submitting a fix in > > gtest package > > > > The problem is on Rawhide I have this warning that make other package

Re: GCC defined(__cplusplus) one rawhide

2025-01-28 Thread Jakub Jelinek
On Mon, Jan 27, 2025 at 07:31:35PM +, Sérgio Basto via devel wrote: > I just want check, if I'm thinking correctly before submitting a fix in > gtest package > > The problem is on Rawhide I have this warning that make other packages > fail to build [1] > > gtest source [2] source get __cplu

Re: GCC defined(__cplusplus) one rawhide

2025-01-27 Thread Cristian Le via devel
On 2025/01/27 21:15, Sérgio Basto via devel wrote: On Mon, 2025-01-27 at 20:52 +0100, Cristian Le via devel wrote: According to the CPP standard, and the deprecation was added in CPP20 [1] so would be best not to patch that part unconditionally in the gtest source. Maybe you could patch in a p

Re: GCC defined(__cplusplus) one rawhide

2025-01-27 Thread Sérgio Basto via devel
On Mon, 2025-01-27 at 20:52 +0100, Cristian Le via devel wrote: > According to the CPP standard, and the deprecation was > added in CPP20 [1] so would be best not to patch that part > unconditionally in the gtest source. Maybe you could patch in a > pragma to disable the warning instead? > > Anot

Re: GCC defined(__cplusplus) one rawhide

2025-01-27 Thread Cristian Le via devel
According to the CPP standard, and the deprecation was added in CPP20 [1] so would be best not to patch that part unconditionally in the gtest source. Maybe you could patch in a pragma to disable the warning instead? Another option could be to drop the CPP standard check altogether and rely on

GCC defined(__cplusplus) one rawhide

2025-01-27 Thread Sérgio Basto via devel
Hi, I just want check, if I'm thinking correctly before submitting a fix in gtest package The problem is on Rawhide I have this warning that make other packages fail to build [1] gtest source [2] source get __cplusplus value and include or #include depending on __cplusplus value . On rawhi