[ ant-contrib-Bugs-1794867 ] The "extends" attribute in the linker doesn't work
"SourceForge.net" <[email protected]> Fri, 21 Sep 2007 11:00:27 -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 (Comment added) made by darius42
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Michael Micucci (kitsune9tails)
>Assigned to: David Haney (darius42)
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.
----------------------------------------------------------------------
>Comment By: David Haney (darius42)
Date: 2007-09-21 18:00
Message:
Logged In: YES
user_id=1140024
Originator: NO
Fixed in svn revision 145.
----------------------------------------------------------------------
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/