URL:
  <http://savannah.gnu.org/bugs/?31155>

                 Summary: .SECONDEXPANSION: incorrect order only parsing in
patterns
                 Project: make
            Submitted by: None
            Submitted on: Tue 28 Sep 2010 07:46:27 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

With this Makefile:

.SECONDEXPANSION:
PREREQS=p1|p2
P2=p2
all : foo bar
f%o: $$(PREREQS) ; @echo '$@' from '$^' and '$|'
b%r: p1|$$(P2)   ; @echo '$@' from '$^' and '$|'
p% : ;

The GNU Make 3.81 output seems correct:

foo from p1 and p2
bar from p1 and p2

But the GNU Make 3.82 output seems incorrect:

foo from p1 and
bar from p1 p2 and


-- John Carey





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31155>

_______________________________________________
  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

Reply via email to