Re: [Tinycc-devel] clang 15.0 issue with tcctest.c

2022-11-17 Thread Christian JULLIEN
Hi I already pushed a patch. It lets tcc pass the test comparing with clang reference. Tell me if it's OK for you. Christian Jullien    De : Michael Matz  Envoyé : jeudi 17 novembre 2022 15:12  À : jull...@eligis.com; tinycc-devel@nongnu.org  Objet : Re: [Tinycc-devel] clang

Re: [Tinycc-devel] clang 15.0 issue with tcctest.c

2022-11-17 Thread Michael Matz
Hello, On Thu, 17 Nov 2022, Christian Jullien wrote: Test later fails with tcctest.c:2903:17: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion]     old_style_f((void *)1, 2, 3.0);     ^ So, this is a

[Tinycc-devel] clang 15.0 issue with tcctest.c

2022-11-17 Thread Christian Jullien
Hi team, I recently updated one of my x64 Linux machine with Fedora 37 which comes with clang 15.0. 'make test' raises this error when clang 15.0 is used: ./configure --with-selinux --cc=clang --prefix=/home/jullien/tinycc/static Binary directory/home/jullien/tinycc/static/bin