[ ant-contrib-Bugs-1794867 ] The "extends" attribute in the linker doesn't work

"SourceForge.net" <[email protected]> Fri, 14 Sep 2007 10:14:02 -0700
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Bugs item #1794867, was opened at 2007-09-14 17:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1794867&group_id=36177

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cpptasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Micucci (kitsune9tails)
Assigned to: Curt Arnold (carnold)
Summary: The "extends" attribute in the linker doesn't work

Initial Comment:
If I define a base linker and then use the "extends" flag to derive a new linker, it actually will not inherit any of the attributes from the base class at all.

I use:
  <linker id='BaseLinker' ><linkerarg value="-DBASEDEFINE"/></linker>
  <linker id='SubLinker' extends='BaseLinker'><linkerarg value="-DSUBDEFINE"/></linker>

  <cc ...>
    <linker refid='SubLinker'/>
     ...
  </cc>

When I actually link with "SubLinker" the "-DSUBDEFINE" gets printed on the command line, but the "-DBASEDEFINE" flag is missing:

  [cc] gcc -Wl,-DSUBDEFINE -shared -o out out.o

Thanks!

--Mike Micucci
--Senior Software Developer - Roguewave Software Inc.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1794867&group_id=36177

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/