How to use .h files in a gtkada program

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.