comp.lang.ada
 help / color / mirror / Atom feed
* GPS Project File Error
@ 2004-04-15 18:37 Simon Lewis
  2004-04-15 19:03 ` Simon Lewis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Simon Lewis @ 2004-04-15 18:37 UTC (permalink / raw)


If anyone knows how to get rid of a 'project file' compile error in GPS 
is would be a great help. I have to comment the folowing 3 lines out:

[SNIP]

package Pretty_Printer is
       for Default_Switches ("Ada") use ("");
end Pretty_Printer;

ERROR:
"pretty-printer" is not an allowed package name
warning - undefined attribute: "default swiches"

[\SNIP]


Im sure It someting easy to fix.  It keeps adding these lines in the 
project file and i cant find the switch in the IDE to turn it off.


What does this pretty printing thing do?


Full code for the project file is shown below:

project Robotdriver is

    for Languages use ("Ada");
    for Source_Dirs use (".", "sim\");
    for Object_Dir use "build";
    for Main use ("robotdriver.adb");

    package Builder is
       for Default_Switches ("ada") use ("-g", "-gnatQ");
       for Default_Switches ("Ada") use ("-g", "-gnatQ");
    end Builder;

    package Compiler is
       for Default_Switches ("ada") use ("-g");
       for Default_Switches ("c") use ("");
       for Default_Switches ("c++") use ("");
       for Default_Switches ("Ada") use ("-gnatf", "-g");
    end Compiler;

    package Binder is
       for Default_Switches ("ada") use ("-static");
    end Binder;

    package Linker is
       for Default_Switches ("ada") use ("-g");
    end Linker;

    package Pretty_Printer is
       for Default_Switches ("Ada") use ("");
    end Pretty_Printer;

end Robotdriver;



Thanks for your help

-- 
Simon Lewis

Can you believe this, Marge? They're paying me to eat! -- Homer Simpson




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-16  6:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-15 18:37 GPS Project File Error Simon Lewis
2004-04-15 19:03 ` Simon Lewis
2004-04-15 20:17   ` Ludovic Brenta
2004-04-16  1:45 ` Jeff C,
2004-04-16  6:20 ` Martin Krischik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox