lkml.org 
[lkml]   [2011]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: `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


\
 
 \ /
  Last update: 2011-07-12 18:37    [W:0.069 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site