--- Begin Message ---
Subject: |
flymake-cc creates `-.o` files |
Date: |
Thu, 2 May 2024 15:10:18 +0200 |
`flymake-cc-use-special-make-target`, the standard value for
`flymake-cc-command`, generates a command like
make check-syntax CHK_SOURCES="-x c -c -"
which causes the compiler (at least Clang) to create the file `-.o` that is
never cleaned up and whose name is mysterious and awkward to remove.
What about the patch below?
flymake-cc-null-output.diff
Description: Binary data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#70716: flymake-cc creates `-.o` files |
Date: |
Wed, 28 Aug 2024 19:50:00 +0200 |
28 aug. 2024 kl. 19.01 skrev sbaugh@catern.com:
> check-syntax:
> gcc -o /dev/null -S ${CHK_SOURCES} || true
>
> So it seems like it would be better to add this -o /dev/null in your
> Makefile.
Actually not my Makefile but that of flymake-tests.
Anyway, now done on master, thank you!
--- End Message ---