Re: Clang C++ linkage problem

2023-02-13 Thread Bartosz Golaszewski
On Mon, 13 Feb 2023 at 21:41, Adhemerval Zanella Netto wrote: > > > > On 13/02/23 17:25, Bartosz Golaszewski wrote: > > On Mon, 13 Feb 2023 at 21:17, Adhemerval Zanella Netto > > wrote: > >> > >> > >> > >> On 13/02/23 17:05, Bartosz Golaszewski wrote: > >>> On Mon, 13 Feb 2023 at 20:53, Adhemerva

Re: Clang C++ linkage problem

2023-02-13 Thread Adhemerval Zanella Netto
On 13/02/23 17:25, Bartosz Golaszewski wrote: > On Mon, 13 Feb 2023 at 21:17, Adhemerval Zanella Netto > wrote: >> >> >> >> On 13/02/23 17:05, Bartosz Golaszewski wrote: >>> On Mon, 13 Feb 2023 at 20:53, Adhemerval Zanella Netto >>> wrote: On 13/02/23 16:22, Bartosz Golasze

Re: Clang C++ linkage problem

2023-02-13 Thread Bartosz Golaszewski
On Mon, 13 Feb 2023 at 21:17, Adhemerval Zanella Netto wrote: > > > > On 13/02/23 17:05, Bartosz Golaszewski wrote: > > On Mon, 13 Feb 2023 at 20:53, Adhemerval Zanella Netto > > wrote: > >> > >> > >> > >> On 13/02/23 16:22, Bartosz Golaszewski wrote: > >>> On Mon, 13 Feb 2023 at 19:49, Adhemerva

Re: Clang C++ linkage problem

2023-02-13 Thread Adhemerval Zanella Netto
On 13/02/23 17:05, Bartosz Golaszewski wrote: > On Mon, 13 Feb 2023 at 20:53, Adhemerval Zanella Netto > wrote: >> >> >> >> On 13/02/23 16:22, Bartosz Golaszewski wrote: >>> On Mon, 13 Feb 2023 at 19:49, Adhemerval Zanella Netto >>> wrote: On 13/02/23 12:49, Bartosz Golasze

Re: Clang C++ linkage problem

2023-02-13 Thread Bartosz Golaszewski
On Mon, 13 Feb 2023 at 20:53, Adhemerval Zanella Netto wrote: > > > > On 13/02/23 16:22, Bartosz Golaszewski wrote: > > On Mon, 13 Feb 2023 at 19:49, Adhemerval Zanella Netto > > wrote: > >> > >> > >> > >> On 13/02/23 12:49, Bartosz Golaszewski wrote: > >>> Hey! > >>> > >>> I'm the author and mai

Re: Clang C++ linkage problem

2023-02-13 Thread Adhemerval Zanella Netto
On 13/02/23 16:22, Bartosz Golaszewski wrote: > On Mon, 13 Feb 2023 at 19:49, Adhemerval Zanella Netto > wrote: >> >> >> >> On 13/02/23 12:49, Bartosz Golaszewski wrote: >>> Hey! >>> >>> I'm the author and maintainer of libgpiod. I'm currently getting ready >>> to do a new major release. After

Re: Clang C++ linkage problem

2023-02-13 Thread Bartosz Golaszewski
On Mon, 13 Feb 2023 at 19:49, Adhemerval Zanella Netto wrote: > > > > On 13/02/23 12:49, Bartosz Golaszewski wrote: > > Hey! > > > > I'm the author and maintainer of libgpiod. I'm currently getting ready > > to do a new major release. After giving some exposure to the release > > candidate, I noti

Re: Clang C++ linkage problem

2023-02-13 Thread Adhemerval Zanella Netto
On 13/02/23 12:49, Bartosz Golaszewski wrote: > Hey! > > I'm the author and maintainer of libgpiod. I'm currently getting ready > to do a new major release. After giving some exposure to the release > candidate, I noticed that when using clang, I can't link against the > C++ bindings, while it

Clang C++ linkage problem

2023-02-13 Thread Bartosz Golaszewski
Hey! I'm the author and maintainer of libgpiod. I'm currently getting ready to do a new major release. After giving some exposure to the release candidate, I noticed that when using clang, I can't link against the C++ bindings, while it works just fine in GCC. The tree in question is here: https: