Bugs item #1080237, was opened at 2004-12-06 21:53
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1080237&group_id=31650
Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Hani Atassi (haniatassi)
>Assigned to: Gert Driesen (drieseng)
Summary: some VC compile and link arguments are missing
Initial Comment:
I noticed the following arguments are missing when
compiling VC++ solutions:
VCCLCompilerTool:
/Wp64
/Gm
/RTCs, /RTCu, /RTC1
/Zc:wchar_t
VCLinkerTool:
/OPT:NOREF, /OPT:REF
/OPT:NOICF, /OPT:ICF
I am using Visual Studio 2003... These options are
important and without them you will get differnet
outputs between the Visual Studio build and NAnt
build.
RESOLUTION:
To Fix I added the following code to the function:
NAnt.VSNet.VcArgumentMap.CreateCLArgumentMap()
map.AddBool
("Detect64BitPortabilityProblems", "/Wp64");
map.AddBool("MinimalRebuild", "/Gm");
map.AddEnum("BasicRuntimeChecks", null,
null, "/RTCs", "/RTCu", "/RTC1");
map.AddBool
("TreatWChar_tAsBuiltInType", "/Zc:wchar_t");
I added the following code to the function:
NAnt.VSNet.VcArgumentMap.CreateLinkerArgumentM
ap()
map.AddEnum("OptimizeReferences", "/OPT:",
null, "NOREF", "REF");
map.AddEnum("EnableCOMDATFolding", "/OPT:",
null, "NOICF", "ICF");
Hope this helps...
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2004-12-08 09:02
Message:
Logged In: YES
user_id=707851
This patch is now also committed to cvs.
Thanks for the contribution !!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1080237&group_id=31650
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers