bug#41467: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11

2023-08-01 Thread Sevan Janiyan
On 01/08/2023 12:11, Sevan Janiyan wrote: The MAX macro in socket.h conflicts with the MAX macro in the system header files. Forgot to mention, the header inclusions in the diff are because scm_t_dynstack & scm_t_dynstack typedefs were commented out of libguile/scm.h (resolving the

bug#41467: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11

2023-08-01 Thread Sevan Janiyan
On 01/08/2023 02:38, Sevan Janiyan wrote: There's more issues after addressing these. I will follow up with a patch of what I took out for the build to succeed (not necessarily correct but to highlight where the issues are). Here's the changes related to redefinitions I made in order to be

bug#41467: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11

2023-07-31 Thread Sevan Janiyan
Hi, Redefinitions are part of C11 and compilers which support C11 and default to C11 mode would have masked the issue which is why we are here. Because of the redefinitions, it is not possible to build Guile with older compilers which only support C99. I hit this issue attempting to build

bug#41467: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11

2020-05-22 Thread Vadim Zeitlin
Hello, I'm am not sure how useful this is because I don't know anything about Guile, but I contribute to the SWIG project which generates Guile bindings among other things and I noticed that one of the CI builds started failing since the upgrade from 2.2.7 to 3.0.2 version due to the errors