This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] New "make check-headers" rule.
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Thu, 14 Nov 2013 14:21:18 -0700
- Subject: Re: [PATCH] New "make check-headers" rule.
- Authentication-results: sourceware.org; auth=none
- References: <1384151855-12926-1-git-send-email-brobecker at adacore dot com> <5283CD04 dot 3080501 at redhat dot com>
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> New "make check-headers" rule.
It seems like a good idea to me.
Pedro> +check-headers:
Pedro> + @echo Checking headers.
Pedro> + for i in $(CHECK_HEADERS) ; do \
Pedro> + $(NODEPS_COMPILE) -Wno-error $(PYTHON_CFLAGS) -include defs.h \
Pedro> + $(srcdir)/$$i -o /dev/null ; \
Pedro> + done
I'm curious why -Wno-error.
Also why not -fsyntax-only?
... neither of which I think are blockers.
It's fine to refine this later.
Tom