Messages in this thread | | | Date | Tue, 12 Jul 2011 18:34:09 +0200 | From | Michal Marek <> | Subject | Re: `make headers_check' bustage |
| |
On 12.7.2011 18:01, Andrew Morton wrote: > On Tue, 12 Jul 2011 16:04:55 +0200 Michal Marek<mmarek@suse.cz> wrote: >> Nevertheless, these errors are pretty harmless, the prototypes do not >> break parsing the header when compiling userspace programs. > > Well, it's a bit harmful - someone did an exit(non-zero) and `make' > terminates the build with a build error.
That's strange, scripts/headers_check.pl only exits with non-zero if it finds that a included header file is not exported:
printf STDERR "$filename:$lineno: included file '$inc' is not exported\n"; $ret = 1;
in all other cases the $ret assignment is commented out:
# Warn until headers are all fixed #$ret = 1;
and it works for me on both v3.0-rc7 and next-20110707.
Michal
| |