[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 1/1] grub-module-verifierxx.c: enable running standalone c
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v5 1/1] grub-module-verifierxx.c: enable running standalone checkers |
Date: |
Thu, 6 Oct 2022 15:19:48 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Oct 05, 2022 at 09:48:37AM -0400, Robbie Harwood wrote:
> From: Peter Jones <pjones@redhat.com>
>
> Allow treating grub-module-verifierxx.c as a file you can build directly
> so syntax checkers like vim's "syntastic" plugin, which uses "gcc -x c
> -fsyntax-only" to build it, will work.
>
> One still has to do whatever setup is required to make it pick the right
> include dirs, which -I options we use, etc., but this makes it so you
> can do the checking on the file you're editing, rather than on a
> different file.
>
> Signed-off-by: Peter Jones <pjones@redhat.com>
> Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel