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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5f6484bf7943c600,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-24 05:08:42 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.251.151.101!opentransit.net!proxad.net!feeder2.proxad.net!nnrp5.proxad.net.POSTED!not-for-mail From: "Etienne Baudin" Newsgroups: comp.lang.ada Subject: storage error ? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sat, 24 Feb 2001 13:08:05 GMT NNTP-Posting-Host: 193.252.54.103 X-Complaints-To: abuse@proxad.net X-Trace: nnrp5.proxad.net 983020085 193.252.54.103 (Sat, 24 Feb 2001 14:08:05 CET) NNTP-Posting-Date: Sat, 24 Feb 2001 14:08:05 CET Organization: Guest of ProXad - France Xref: supernews.google.com comp.lang.ada:5507 Date: 2001-02-24T13:08:05+00:00 List-Id: With GNAT/linux (although with win 9x/2k all is right) while executing simple opengl program an exception is raised anything like "storage-error / Stack overflow or bad access memory" it's raised here win:=glutCreateWindow(interfaces.C.strings.new_string("Test de Bitmap")); -- look at the function -- pragma location see below function glutCreateWindow (title : Interfaces.C.Strings.Chars_Ptr) return Integer; pragma Import (C, glutCreateWindow, "glutCreateWindow", "glutCreateWindow"); as it works with win I tried to suppress controls ( pragma suppress (storage_check); then all_check) just over my function in the .ads file. But it seems not to be very efficient (bad location ?) If you have any idea about my problem please reply Etienne Baudin