From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7cf3d3c3f25296e6,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!o3g2000hsb.googlegroups.com!not-for-mail From: aheijde@zeelandnet.nl Newsgroups: comp.lang.ada Subject: Problem with GNAT GPL 2007.1 win32Ada bindings Date: Tue, 30 Oct 2007 02:59:07 -0700 Organization: http://groups.google.com Message-ID: <1193738347.142486.219770@o3g2000hsb.googlegroups.com> NNTP-Posting-Host: 212.203.27.18 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1193738347 9463 127.0.0.1 (30 Oct 2007 09:59:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Oct 2007 09:59:07 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 proxy-3.dev.ict.nl:8080 (squid/2.6.STABLE16) Complaints-To: groups-abuse@google.com Injection-Info: o3g2000hsb.googlegroups.com; posting-host=212.203.27.18; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2634 Date: 2007-10-30T02:59:07-07:00 List-Id: 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