After completing (as far as I know)t the gtkada surrounding I was trying to create the Gtkada version op “Hello World” I found first that it takes a lot of time in the first time to grate all the object files After that was solved I got a number of messages of failures regarding a file “misc_generated.c” . The file could correctly be found in Path. The listing of the file and the failures could all be seen as Gnatstudio tried to compile this file as it is a ADA file instead as a C/C++ file.I thought that Gnatstudio could see that the file is Ada or C/C++. If so where can I see if it and hoe can I force it to do so.
I finally found somewhere how to set the langauge in the project file I found:
library project GtkAda is
case GtkAda_Shared.Need_Objective_C is
when “yes” => for Languages use (“C”, “Ada”, “Objective-C”);
when “no” => for Languages use (“C”, “Ada”);
end case:
It looks like the "forLangauge use (“C”), “Ada” is the methode to make the compilingh files work but that does not work. I still get messages about a file misc_generated.h which is also in PATH. It looks lijke the errors all look ada failures created on a C file f.i. the comment sign in C * and it finds ada errors with the comment of a C file. So what can be done