From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,78b400d2bd8443ba,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-15 11:40:06 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!zen.net.uk!hamilton.zen.co.uk!193.60.199.26.MISMATCH!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!aston!not-for-mail From: Simon Lewis Newsgroups: comp.lang.ada Subject: GPS Project File Error Date: Thu, 15 Apr 2004 19:37:48 +0100 Organization: Aston University Message-ID: NNTP-Posting-Host: lakesidemax47.aston.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: wotsit.aston.ac.uk 1082054275 17160 134.151.79.197 (15 Apr 2004 18:37:55 GMT) X-Complaints-To: usenet@aston.ac.uk NNTP-Posting-Date: Thu, 15 Apr 2004 18:37:55 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:7156 Date: 2004-04-15T19:37:48+01:00 List-Id: 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