On 03/mar/2013, at 07:56, Luca Barbato <[email protected]> wrote: On 03/03/13 00:13, Vittorio Giovara wrote:
Extending this idea, if the main() problem happens on mingw only, why not using the current test code for all platforms but mingw and explicit the test with the proposed code for mingw only? I'd rather have a single test. Alternatively, one could substitute the main(void) declaration with main(int argc, char *argv[]) in the check_* code and leave the test sdl section as it is, but I've heard that was not going to be a popular idea (as it may break other things, although not sure which ones). main might or might not have a signature different enough to not match. Which version of sdl is causing you problems btw? here it seems to work fine. I tried with SDL 1.2.15 using i686-w64-mingw32 to crosscompile from Linux to Windows. In order to have a single test, how about introducing check_struct2 and check_code2 that use the same main() parameters (as in https://www.dropbox.com/s/9xh6nvdcyz8fsgp/conf.patch)? Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
