Error Message in project file

ldries46 <[email protected]> Thu, 28 Jun 2012 02:25:57 -0700 (PDT)
Newsgroups gmane.comp.ide.gps.user
Message-ID <[email protected]>
--===============1518838567==
Content-Type: multipart/alternative; 
	boundary="----=_Part_998_25703605.1340875557848"

------=_Part_998_25703605.1340875557848
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I get the following error message in my project file. I dont knoe what is
wrong.
1:9    duplicate unit "main"
1:9    duplicate unit "parameters"

I don't have these units.

My project file is:

project Algemeen is

   for Source_Dirs use (".\**", "D:\Program Files\GNAT\GtkADA\**",
"..\..\Standaarden\Standaard Packages\**");
   for Object_Dir use "Build";
   for Main use ("Algemeen.adb");

   package Builder is
      for Default_Switches ("ada") use ("-s", "-m", "-g");
   end Builder;

   package Compiler is
      for Default_Switches ("ada") use ("-gnatf", "-gnato", "-fstack-check",
"-gnatE", "-g", "-gnat12");
   end Compiler;

   package Binder is
      for Default_Switches ("ada") use ("-E", "-r", "-shared");
   end Binder;

   package Linker is
      for Default_Switches ("ada") use ("-g", "-Wl,--gc-sections");
   end Linker;

   package Pretty_Printer is
      for Default_Switches ("ada") use ("-c3", "-c5",
"--separate-loop-then");
   end Pretty_Printer;

end Algemeen;

Can anyone help me to get rid of these messages.
-- 
View this message in context: http://old.nabble.com/Error-Message-in-project-file-tp34085217p34085217.html
Sent from the GNAT Programming Studio - User mailing list archive at Nabble.com.

------=_Part_998_25703605.1340875557848
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit


I get the following error message in my project file. I dont knoe what is wrong.
1:9    duplicate unit "main"
1:9    duplicate unit "parameters"

I don't have these units.

My project file is:

project Algemeen is

   for Source_Dirs use (".\**", "D:\Program Files\GNAT\GtkADA\**", "..\..\Standaarden\Standaard Packages\**");
   for Object_Dir use "Build";
   for Main use ("Algemeen.adb");

   package Builder is
      for Default_Switches ("ada") use ("-s", "-m", "-g");
   end Builder;

   package Compiler is
      for Default_Switches ("ada") use ("-gnatf", "-gnato", "-fstack-check", "-gnatE", "-g", "-gnat12");
   end Compiler;

   package Binder is
      for Default_Switches ("ada") use ("-E", "-r", "-shared");
   end Binder;

   package Linker is
      for Default_Switches ("ada") use ("-g", "-Wl,--gc-sections");
   end Linker;

   package Pretty_Printer is
      for Default_Switches ("ada") use ("-c3", "-c5", "--separate-loop-then");
   end Pretty_Printer;

end Algemeen;

Can anyone help me to get rid of these messages.
<br><hr align="left" width="300">
View this message in context: <a href="http://old.nabble.com/Error-Message-in-project-file-tp34085217p34085217.html">Error Message in project file</a><br>
Sent from the <a href="http://old.nabble.com/GNAT-Programming-Studio---User-f2293.html">GNAT Programming Studio - User mailing list archive</a> at Nabble.com.<br>

------=_Part_998_25703605.1340875557848--


--===============1518838567==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gps-users mailing list
[email protected]
http://lists.adacore.com/mailman/listinfo/gps-users

--===============1518838567==--