Hi Herman,

Currently I can't push to mob, can you fix the regression with with the
bare -MMD argument (commit 30c2373c8)?

--- a/libtcc.c
+++ b/libtcc.c
@@ -2089,7 +2089,7 @@ PUB_FUNC int tcc_parse_args(TCCState *s, int *pargc,
char ***pargv)
             s->gen_deps = 1;
             /* usually, only "-MMD" is used */
             /* but the Linux Kernel uses "-MMD,depfile" */
-            if (optarg)
+            if (*optarg != '\0')
                 tcc_set_str(&s->deps_outfile, optarg);
             break;
         case TCC_OPTION_MD:

Cheers
Ty.

On Fri, 23 May 2025 at 21:48, tylo <tylov...@gmail.com> wrote:

> MingGW-W64 14.2. Message during compilation:
>
> *tcc: error: could not open ''*
>
> Commit 30c2373c, May 7.
> Still present in the commit of May 22.
>
> Cheers,
> Ty.
>
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to