This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New "make check-headers" rule.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]