The thread "Attempt to make v2 backward compatible" addressed basically to Gnoga developers. As end user of Gnoga (and still in the learning phase) I would like to know how to treat the following compilation error:

Compile
   [Ada]          net-main.adb
net-main.adb:18:12: error: no candidate interpretations match the actuals:
net-main.adb:18:12: error: missing argument for parameter "Occurrence" in call to "Log" declared at gnoga.ads:113 net-main.adb:18:60: error: expected private type "Ada.Exceptions.Exception_Occurrence"
net-main.adb:18:60: error: found type "Standard.String"
net-main.adb:18:60: error:   ==> in call to "Log" at gnoga.ads:110
net-main.adb:18:60: error:   ==> in call to "Log" at gnoga.ads:107
uxstrings.ads:93:81: error: strings are delimited by double quote character
uxstrings.ads:93:81: error: expected type "Standard.Character"
uxstrings.ads:93:81: error: found a string type
uxstrings.ads:96:81: error: strings are delimited by double quote character
uxstrings.ads:96:81: error: expected type "Standard.Character"
uxstrings.ads:96:81: error: found a string type
uxstrings.ads:108:92: error: strings are delimited by double quote character
uxstrings.ads:108:92: error: expected type "Standard.Wide_Character"
uxstrings.ads:108:92: error: found a string type
uxstrings.ads:111:73: error: strings are delimited by double quote character
uxstrings.ads:111:73: error: expected type "Standard.Wide_Character"
uxstrings.ads:111:73: error: found a string type
gprbuild: *** compilation phase failed

The accused line 18 of net-main.adb is

      Gnoga.Log (Ada.Exceptions.Exception_Name (E) & " - " &
                   Ada.Exceptions.Exception_Message (E));

Compiler switches are

   package Compiler is
for Default_Switches ("Ada") use ("-g", "-gnata", "-gnatq", "-gnatQ");
   end Compiler;

First I thought it was an error in my application, but it compiles without any problem on another PC with Gnoga version 1. Then I thought I messed up the installation of Gnoga version 2.1a, but various reinstallations resulted in the same error. And when searching for help I got aware of the compatibility problem. So what should I do?

--
Frank Hrebabetzky, Kronach      +49 / 9261 / 950 0565



_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to