[gps-users] Error Message in project file

ldries46 bertus.dries at planet.nl
Thu Jun 28 11:25:57 CEST 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gps-users/attachments/20120628/8caf5793/attachment.htm 


More information about the gps-users mailing list