[gtkada] What is: pragma Unreferenced ?

Preben Randhol randhol at pvv.org
Thu Jul 17 15:17:37 CEST 2003


When I use Gnat 3.14p I get:

   gtk-handlers.adb:347:10: warning: unrecognized pragma "Unreferenced"
   gtk-handlers.adb:640:10: warning: unrecognized pragma "Unreferenced"
   gtk-handlers.adb:993:10: warning: unrecognized pragma "Unreferenced"
   gtk-handlers.adb:1342:10: warning: unrecognized pragma "Unreferenced"
   gtk-marshallers.adb:223:13: warning: unrecognized pragma "Unreferenced"
   gtk-marshallers.adb:453:13: warning: unrecognized pragma "Unreferenced"
   gtk-marshallers.adb:668:13: warning: unrecognized pragma "Unreferenced"
   gtk-marshallers.adb:883:13: warning: unrecognized pragma "Unreferenced"

What does this mean? I see that when I use gnat 3.3 (gcc) the executable
size of my app goes from 73kb to 358kb. All .o files are smaller with
3.3 than 3.14p while .ali files are bigger. But this huge difference in
executable size what is causing this? If it because of the pragmas above
(which 3.3 seem to accept)?

Thanks in advance.
-- 
Ada95 is good for you.
http://www.crystalcode.com/codemage/MainMenu/Coding/Ada/IntroducingAda.php



More information about the gtkada mailing list