Hi, currently TCC can not be built with the MSVC (Visual studio) compiler.
I just pushed change https://repo.or.cz/tinycc.git/commitdiff/571868c4f74d2a86db4f41e1d29b27159145f262 to the mob branch in order to fix this. The reason is that MSVC'c __declspec(align(#)) can not accept sizeof(void*) expression as an argument. The alignas(void*) specifier would work, but it is not available in the C language, it is available only in the C++ language (since C++11) and in the C language (since C23). Other option would be to use the _Alignas(void*) specifier, which is available in the C11 language. Marek Knápek _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
