gdb/ChangeLog 2014-12-15 Jan Kratochvil Fix MinGW compilation. * compile/compile.c (get_compile_file_tempdir): Call error on _WIN32. --- ./gdb/compile/compile.c 2014-12-14 02:48:38.000000000 +0100 +++ ./gdb/compile/compile.c 2014-12-15 23:21:28.788716340 +0100 @@ -191,7 +191,11 @@ get_compile_file_tempdir (void) strcpy (tname, TEMPLATE); #undef TEMPLATE +#ifdef _WIN32 + error (_("mkdtemp needs to be implemented for MS-Windows hosts")); +#else tempdir_name = mkdtemp (tname); +#endif if (tempdir_name == NULL) perror_with_name (_("Could not make temporary directory"));