Commit a14782e1 by Vincent Celier Committed by Arnaud Charlet

vms_conv.adb (Process_Argument): Ensure that project related options are not put…

vms_conv.adb (Process_Argument): Ensure that project related options are not put in the -cargs section when...

2007-08-16  Vincent Celier  <celier@adacore.com>

	* vms_conv.adb (Process_Argument): Ensure that project related options
	are not put in the -cargs section when using GNAT COMPILE.

From-SVN: r127551
parent dae2b8ea
......@@ -1788,8 +1788,17 @@ package body VMS_Conv is
end if;
if Sw /= null then
case Sw.Translation is
if Cargs
and then Sw.Name /= null
and then
(Sw.Name.all = "/PROJECT_FILE" or else
Sw.Name.all = "/MESSAGES_PROJECT_FILE" or else
Sw.Name.all = "/EXTERNAL_REFERENCE")
then
Cargs := False;
end if;
case Sw.Translation is
when T_Direct =>
Place_Unix_Switches (Sw.Unix_String);
if SwP < Arg'Last
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment