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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5dd39b3d503c6889,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.122.65 with SMTP id gf1mr428766bkc.2.1339696738581; Thu, 14 Jun 2012 10:58:58 -0700 (PDT) Path: e27ni48134bkw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Ben Hocking Newsgroups: comp.lang.ada Subject: Trying to fix 'warning: no compiler specified for language "Ada", ignoring all its sources' Date: Thu, 14 Jun 2012 08:25:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 8.25.3.17 Mime-Version: 1.0 X-Trace: posting.google.com 1339687604 10241 127.0.0.1 (14 Jun 2012 15:26:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 14 Jun 2012 15:26:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=8.25.3.17; posting-account=hKGsDAoAAAC9HB_9misjykjawYQeT_yf User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-06-14T08:25:19-07:00 List-Id: I've gone through the gems 68 and 69 here: http://www.adacore.com/adaanswers/gems/gem-68/ http://www.adacore.com/adaanswers/gems/gem-69/ I was able to reproduce the examiner/simply/POGS results, but if I actually= try to compile the code from GPS, I get the message: gprbuild -d -P/Users/Dependable/Tools/Spark1/search/default.gpr default.gpr:1:09: warning: no compiler specified for language "Ada", igno= ring all its sources gprbuild: no sources to compile Similarly, if I try to compile just search.adb, I get: gprbuild -ws -c -u -P/Users/Dependable/Tools/Spark1/search/default.gpr se= arch.adb gprbuild: "search.adb" is not a source of any project If I go to Project->Edit Project Properties, I see that Ada is checked as a= language, and its compiler is set as gnatmake. The file default.gpr looks = like: =3D=3D=3D=3D project Default is -- for Languages use ("Ada"); package Ide is for Default_Switches ("examiner") use ("-index_file=3Dsearch.idx", "-= config=3Dsearch.cfg", "-flow_analysis=3Ddata", "-vcg"); -- for Compiler_Command ("ada") use "gnatmake"; end Ide; package Compiler is for Default_Switches ("ada") use ("-g", "-O2"); end Compiler; end Default; =3D=3D=3D=3D With the lines commented out with "--" having no impact whether they are co= mmented out or not (since these are the default values). I'm using the native gnat toolchain, version GPL 2011 (20110419), and my GP= S version is GPS 5.0.1 (20110113) hosted on x86_64-apple-darwin10.2.0. I'm = on OS X 10.6.8. I was able to compile in GPS a couple days ago, so I feel l= ike something's changed (although I haven't updated any software since then= ), but I have no idea what. Any help would be appreciated. Thanks, -Ben