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,714a40eb8c53061d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!feeder.news-service.com!feed.xsnews.nl!border-2.ams.xsnews.nl!upload-2.xsnews.nl!10.10.69.16.MISMATCH!frontend-F09-16.ams.news.kpn.nl From: "ldries46" Newsgroups: comp.lang.ada References: <4e4144df$0$2573$703f8584@news.kpn.nl> In-Reply-To: <4e4144df$0$2573$703f8584@news.kpn.nl> Subject: Re: ADA and Open GL Date: Wed, 10 Aug 2011 10:58:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 Message-ID: <4e424822$0$2559$703f8584@news.kpn.nl> Organization: KPN.com NNTP-Posting-Host: 77.168.179.107 X-Trace: 1312966690 news.kpn.nl 2559 77.168.179.107@kpn/77.168.179.107:57582 Xref: g2news2.google.com comp.lang.ada:21474 Date: 2011-08-10T10:58:34+02:00 List-Id: Thanks, I didn't realize that in the C++ program I used for example it is opssible to use a function without using the return part, unit is compiling. My program seems correct now, but I get the following error message: opengl-glu.ads:373:31: warning: subprogram pointer "gluNurbsCallback.CallBackFunc" should have foreign convention opengl-glu.ads:373:31: warning: add Convention pragma to declaration of "GLU.GLUFUNCPTR" at line 231 This is found in a standard unit nl. the adabindings to Open GL, GLU and GLUT Can I disregard this warning or should I do something to avoid it. I don't thoink I should be altering my copy of the ADA bindings so where should I do something. In my program I don't call this routine directly soit is a result of a call from another routine within the ADA bindings. L. Dries