I have a bunch of random csmith-generated code I'm trying to compile with clang, but csmith does not cast types explicitly, and it's confusing clang.
Example error:
C:\Users\Steve\Documents\A\a\Csmith\main.cpp:52:568: error: cannot initialize an array element of type 'int32_t **volatile' (aka 'int **volatile') with an rvalue of type 'void *' ...&g_50, &g_50, &g_50, &g_50, &g_50, (void*)0}, {(void*)0, &g_50, &g_50, &...
gcc will just cast it implicitly, and I can't find a way to do this with clang
Help would be much appreciated