From: aheijde@zeelandnet.nl
Subject: Problem with GNAT GPL 2007.1 win32Ada bindings
Date: Tue, 30 Oct 2007 02:59:07 -0700
Date: 2007-10-30T02:59:07-07:00 [thread overview]
Message-ID: <1193738347.142486.219770@o3g2000hsb.googlegroups.com> (raw)
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
next reply other threads:[~2007-10-30 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 9:59 aheijde [this message]
2007-10-31 10:46 ` Problem with GNAT GPL 2007.1 win32Ada bindings aheijde
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox