https://bugs.gentoo.org/524048 ignore warnings w/newer glibc-2.20 patch by Dmitry Derevyanko --- a/ccdep.pl +++ b/ccdep.pl @@ -233,6 +233,9 @@ } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: this is the location of /) { # ^^^ gcc-3.1 undef $included_from; + } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: .*\bdeprecated\b/) { + # Example: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + undef $included_from; } elsif ($S=~/: No such file or directory$/) { # Depends on $ENV{LC_ALL}. # ^^^ gcc-3.3 undef $included_from;