[Tinycc-devel] Libtcc and relative include paths

2017-03-10 Thread Joel Bodenmann
Hello folks, I'm currently using libtcc inside a C++ application to compile, link and execute generated code. The generated code uses some smaller C library that gets compiled as part of the generated code (so basically C files which are being fed into libtcc Therefore, I'm using tcc_add_include_p

Re: [Tinycc-devel] Odd problem when using variables defined in header files for a .dll

2017-03-10 Thread grischka
William Hales wrote: Thankyou, but this does not seem to work. I just tried adding: __declspec(dllimport) extern WINDOW *stdscr; ...to the start of my main.c, and it did not change the resulting program behaviour. (No warnings or errors either, and I'm using -Wall). [Screenshot. Let's