From: Simon Lewis <sheepboy69uk@NOSPAMyahoo.com>
Subject: GPS Project File Error
Date: Thu, 15 Apr 2004 19:37:48 +0100
Date: 2004-04-15T19:37:48+01:00 [thread overview]
Message-ID: <c5mkq3$go8$1@wotsit.aston.ac.uk> (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
next reply other threads:[~2004-04-15 18:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-15 18:37 Simon Lewis [this message]
2004-04-15 19:03 ` GPS Project File Error Simon Lewis
2004-04-15 20:17 ` Ludovic Brenta
2004-04-16 1:45 ` Jeff C,
2004-04-16 6:20 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox