Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

If using gcc -B/foo/bar makedepend would give

unnecessary warnings about unused -B/foo/bar.

p4raw-id: //depot/perl@11627
  • Loading branch information...
commit 8ad4a856d6f6911e6e76a9826ec9b7ba3964bc28 1 parent e8b5448
jhi authored August 10, 2001

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  makedepend.SH
3  makedepend.SH
@@ -155,11 +155,12 @@ for file in `$cat .clist`; do
155 155
 	    -e 's|\.c\.c|.c|' $uwinfix | \
156 156
         $uniq | $sort | $uniq >> .deptmp
157 157
     else
158  
-        $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
  158
+        $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c 2>&1 |
159 159
         $sed \
160 160
 	    -e '1d' \
161 161
 	    -e '/^#.*<stdin>/d' \
162 162
 	    -e '/^#.*"-"/d' \
  163
+	    -e '/: file path prefix .* never used$/d' \
163 164
 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
164 165
 	    -e 's/^[	 ]*#[	 ]*line/#/' \
165 166
 	    -e '/^# *[0-9][0-9]* *[".\/]/!d' \

0 notes on commit 8ad4a85

Please sign in to comment.
Something went wrong with that request. Please try again.