namhyung / uftrace

Function graph tracer for C/C++/Rust/Python
https://uftrace.github.io/slide/
GNU General Public License v2.0
3.03k stars 444 forks source link

build: Add "check-syntax" make target #1914

Closed clementguidi closed 5 months ago

clementguidi commented 5 months ago

Hi,

Do you have any interest in supporting syntax checkers such as Emacs' Flymake?

It would require a check-syntax target to be added to the Makefile.

See https://www.gnu.org/software/emacs/manual/html_node/flymake/Example_002d_002d_002dConfiguring-a-tool-called-via-make.html (bottom of the page).

namhyung commented 5 months ago

I'm not a fan of the quick syntax checker. Eventually we will find the errors when we build the source, right?

clementguidi commented 5 months ago

Right. I'll close this PR for now.