URL: <http://savannah.gnu.org/bugs/?29245>
Summary: Bug with DOS Path in Secondary Expansion (with Fix) Project: make Submitted by: None Submitted on: Wed 17 Mar 2010 12:07:43 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: CVS Operating System: MS Windows Fixed Release: None Triage Status: None _______________________________________________________ Details: There's an issue regarding the use of a DOS paths in a secondary expansion. Here's a minimal Makefile to demonstrate it: ----------------------------------- .SECONDEXPANSION: foobar.o .PHONY: C:/foobar.c func = $1 foobar.o: $$(call func,C:/foobar.c) ----------------------------------- The code above triggers the unsubstantial error message: makefile:6: *** multiple target patterns. Stop. The fix is to change line 1148 in read.c from: (p == p2 + 1 || strchr (" \t:(", p[-2]) != 0)) { to: (p == p2 + 1 || strchr (" \t:(,", p[-2]) != 0)) { Oliver Schmidt - oschmidt(at)sap.com _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?29245> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make