[sr-dev] Re: Building with clang

2023-05-01 Thread Richard Fuchs
On 30/04/2023 03.31, [EXT] Ivan Ribakov wrote: Richard, you are right about the problem with the void pointer casting. I'm aware of it and already had to patch a few headers. However my question above is not about void pointers at all. If you check the compiler error message, you will see

[sr-dev] Re: Building with clang

2023-04-30 Thread Ivan Ribakov
Richard, you are right about the problem with the void pointer casting. I'm aware of it and already had to patch a few headers. However my question above is not about void pointers at all. If you check the compiler error message, you will see that it is complaining about atomic_cmpxchg_int

[sr-dev] Re: Building with clang

2023-04-29 Thread Richard Fuchs
On 28/04/2023 18.56, [EXT] Ivan Ribakov wrote: Hi all, I looked at Kamailio 5.6.3 makefiles and saw mention of clang being supported. Yet when I try to build it with clang (more precisely, I build a C++ module using clang that includes some Kamailio C headers via "extern C") I get following