Problem with GNAT GPL 2007.1 win32Ada bindings
- From: aheijde@xxxxxxxxxxxxx
- Date: Tue, 30 Oct 2007 02:59:07 -0700
Hello,
I am using the GNAT GPL 2007.1 version on a Vista machine.
After this I installed the win32Ada 2007 bindings.
When I tried to build the examples, I am getting al lot of warnings:
gnatmake -PC:\GNAT\2007\share\examples\win32ada\gdi\gdidemo.gpr
gdidemo -d
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\gdidemo.adb
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\init.adb
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\bounce.adb
bounce.adb:68:03: warning: possible aliasing problem for type
"PBOUNCEDATA"
bounce.adb:68:03: warning: use -fno-strict-aliasing switch for
references
bounce.adb:68:03: warning: or use "pragma No_Strict_Aliasing
(PBOUNCEDATA);"
bounce.adb:70:03: warning: possible aliasing problem for type
"PBALLDATA"
bounce.adb:70:03: warning: use -fno-strict-aliasing switch for
references
bounce.adb:70:03: warning: or use "pragma No_Strict_Aliasing
(PBALLDATA);"
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\convert.adb
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\draw.adb
draw.adb:44:03: warning: possible aliasing problem for type
"PDRAWDATA"
draw.adb:44:03: warning: use -fno-strict-aliasing switch for
references
draw.adb:44:03: warning: or use "pragma No_Strict_Aliasing
(PDRAWDATA);"
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\gdidemo_util.adb
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\maze.adb
maze.adb:38:03: warning: possible aliasing problem for type
"PMAZEDATA"
maze.adb:38:03: warning: use -fno-strict-aliasing switch for
references
maze.adb:38:03: warning: or use "pragma No_Strict_Aliasing
(PMAZEDATA);"
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\poly.adb
poly.adb:43:03: warning: possible aliasing problem for type
"PPOLYDATA"
poly.adb:43:03: warning: use -fno-strict-aliasing switch for
references
poly.adb:43:03: warning: or use "pragma No_Strict_Aliasing
(PPOLYDATA);"
poly.adb:45:03: warning: possible aliasing problem for type
"PBEZBUFFER"
poly.adb:45:03: warning: use -fno-strict-aliasing switch for
references
poly.adb:45:03: warning: or use "pragma No_Strict_Aliasing
(PBEZBUFFER);"
poly.adb:47:03: warning: possible aliasing problem for type
"ac_POINT_t"
poly.adb:47:03: warning: use -fno-strict-aliasing switch for
references
poly.adb:47:03: warning: or use "pragma No_Strict_Aliasing
(ac_POINT_t);"
poly.adb:58:03: warning: possible aliasing problem for type
"PBEZBUFFER_ARRAY"
poly.adb:58:03: warning: use -fno-strict-aliasing switch for
references
poly.adb:58:03: warning: or use "pragma No_Strict_Aliasing
(PBEZBUFFER_ARRAY);"
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\xform.adb
xform.adb:51:03: warning: possible aliasing problem for type
"PXFORMDATA"
xform.adb:51:03: warning: use -fno-strict-aliasing switch for
references
xform.adb:51:03: warning: or use "pragma No_Strict_Aliasing
(PXFORMDATA);"
xform.adb:55:07: warning: possible aliasing problem for type
"ac_POINT_t"
xform.adb:55:07: warning: use -fno-strict-aliasing switch for
references
xform.adb:55:07: warning: or use "pragma No_Strict_Aliasing
(ac_POINT_t);"
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\wininfo.adb
gcc -c -O2 -I- -gnatA C:\GNAT\2007\share\examples\win32ada\gdi
\dialog.adb
dialog.adb:36:03: warning: possible aliasing problem for type
"PLOGPALETTE"
dialog.adb:36:03: warning: use -fno-strict-aliasing switch for
references
dialog.adb:36:03: warning: or use "pragma No_Strict_Aliasing
(PLOGPALETTE);"
dialog.adb:100:07: warning: variable "null_rect" is read but never
assigned
dialog.adb:127:03: warning: variable "null_size" is read but never
assigned
dialog.adb:128:03: warning: variable "null_point" is read but never
assigned
gnatbind -I- -x c:\gnat\2007\share\examples\win32ada\gdi\gdidemo.ali
gnatlink c:\gnat\2007\share\examples\win32ada\gdi\gdidemo.ali -Lc:\gnat
\2007\lib\win32ada -lwin32ada -o c:\gnat\2007\share\examples\win32ada
\gdi\gdidemo.exe
c:\gnat\2007\lib\win32ada/libwin32ada.a(win32-winuser.o):win32-
winuser.adb:(.text+0xccb): undefined reference to `do_varargs'
c:\gnat\2007\lib\win32ada/libwin32ada.a(win32-winuser.o):win32-
winuser.adb:(.text+0x127b): undefined reference to `do_varargs'
gnatlink: error when calling C:\GNAT\2007\bin\gcc.exe
gnatmake: *** link failed.
process exited with status 4
Must I do something more before it will work? Or...??? How can I check
that the automatic configuration worked well?
And were is the help file of the win32 binding, could not find that
either.
Thanks in advance.
Greetings Antoine
.
- Follow-Ups:
- Re: Problem with GNAT GPL 2007.1 win32Ada bindings
- From: aheijde
- Re: Problem with GNAT GPL 2007.1 win32Ada bindings
- Prev by Date: Re: Largest size array in Gnat 2005 for the PC?
- Next by Date: Re: Largest size array in Gnat 2005 for the PC?
- Previous by thread: Largest size array in Gnat 2005 for the PC?
- Next by thread: Re: Problem with GNAT GPL 2007.1 win32Ada bindings
- Index(es):
Relevant Pages
|