[gtkada] Error compiling gtkada 2.4 on windows.
Chris Sparks
mr_ada at comcast.net
Thu Aug 3 15:12:35 CEST 2006
Dave Mihalik wrote:
> I am using Windows XP
>
>
>
> I have GPS 2006 GPL Edition installed GPS 2.1.3.
>
>
>
> I downloaded gtkada 2.4 and extracted the contents to c:\gtkada-2.4.0
>
>
>
> When I issue the command: gnatmake –Pinclude/gtkada/gtkada inside the
> c:\gtkada-2.4.0 folder, I get the following error when it attempt to
> compile gtk-glade.adb:
>
>
>
> “gtk-glade.adb:437:44: reserved word “interface” cannot be used as
> identifier
>
> gnatmake: “c:\gtkada-2.4.0\include\gtkada\gtk-glade.adb” compilation error
>
>
>
> How do I correct this problem?
>
Looks like you need to add a compilation switch to compile as Ada 95 and
not Ada 05. Interface is a reserved word in Ada 05.
Chris
More information about the gtkada
mailing list