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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fe5eccc4fca3fd64 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-29 16:09:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!chnws02.ne.ipsvc.net!cyclone.ne.ipsvc.net!24.128.8.70!typhoon.ne.ipsvc.net.POSTED!not-for-mail From: "Tony Yu" Newsgroups: comp.lang.ada References: <%Elx8.52627$WV1.16784880@typhoon.ne.ipsvc.net> <3CC6165F.90104@telepath.com> <4lpx8.53006$WV1.16967560@typhoon.ne.ipsvc.net> <3cc4fb1c.32152679@netnews.att.net> Subject: Re: Ada / Motif Binding Question X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 29 Apr 2002 22:55:33 GMT NNTP-Posting-Host: 24.61.238.94 X-Complaints-To: abuse@attbi.com X-Trace: typhoon.ne.ipsvc.net 1020120933 24.61.238.94 (Mon, 29 Apr 2002 18:55:33 EDT) NNTP-Posting-Date: Mon, 29 Apr 2002 18:55:33 EDT Organization: ATT Broadband Xref: archiver1.google.com comp.lang.ada:23238 Date: 2002-04-29T22:55:33+00:00 List-Id: Thankyou! The 'pragma export' was the key to the mystery! -Tony "Christopher Green" wrote in message news:3cc4fb1c.32152679@netnews.att.net... > On Wed, 24 Apr 2002 03:08:48 GMT, "Tony Yu" > wrote: > > >"Ted Dennison" wrote in message > >news:3CC6165F.90104@telepath.com... > >> > >> You didn't say what Motif bindings you are using. There's no one > >> standard set that comes with every compiler (which makes sense, as Win32 > >> compilers don't typically have Motif around to bind to). > >I believe I am using the AXI bindings. For the most part, I've seen legacy > >STARS packages referenced. Not sure if they are the same. > > I do AXI support for ATC, and that looks like the STARS dialect of > AXI. > > A 'pragma Export' or 'pragma Convention' on Exit_Option would be > needed on many hosts. Otherwise, Ada stack-checking code gets confused > when it encounters a non-Ada stack frame. > > It can also be the case that you're running on a task stack or a > thread stack that really is too small or cluttered to allocate your > string. > > A more difficult example of this is when you use threads with an Ada > runtime that wasn't written to use threads. The thread stack is not > where the Ada runtime thinks the stack is, and any Ada code you call > raises Storage_Error. > > If you have more difficulties than can be solved by supplying the > right pragma and making sure your stack is large enough, write us at > support@atc.com. > > -- > Chris Green >