home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: sekruege@nando.net (Steve Krueger)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: SAS/C Bug? CXERR: 460351
- Date: 6 Feb 1996 05:39:11 GMT
- Organization: News & Observer Public Access
- Message-ID: <4f6phv$k7c@castle.nando.net>
- References: <1795.6608T769T2248@powertech.no>
- NNTP-Posting-Host: grail720.nando.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-NewsReader: Interworks_GRn 3.0 January 12, 1996
-
- In article <1795.6608T769T2248@powertech.no> leo@powertech.no (Eivind Nordseth) writes:
-
-
- This sounds like a problem I fixed shortly after 6.56 was released.
- With 6.56, if A4 is used as a parameter, there is a chance
- you will get this CXERR during the call. All the cases that I
- have seen invole this function (rtEZRequestTags).
-
- If you need a fix, send me email, and I'll send you a patch.
-
- sk
-
-
-
-
- :
- : I have a litte problem with some SAS/C code.
- :
- : The following code gives an CXERR at the "TAG_END);" line:
- : ------------------begin--------------------
- : [...]
- : if(ReqToolsBase = (struct ReqToolsBase *) OpenLibrary(REQTOOLSNAME, 38))
- : {
- : logmsg->lm_Return = rtEZRequestTags(mem,
- : logmsg->lm_GadFmt ? (STRPTR) logmsg->lm_GadFmt : (STRPTR) "Continue",
- : NULL, logmsg->lm_ArgArray,
- : RTEZ_ReqTitle, logmsg->lm_Program,
- : (pubscreen ? RT_PubScrName : TAG_IGNORE), pubscreen,
- : RT_Underscore, '_',
- : TAG_END);
- :
- : CloseLibrary((struct Library *) ReqToolsBase);
- : }
- : [....]
- : ------------------end--------------------
- : SAS/C Amiga Compiler 6.56
- : Copyright (c) 1988-1995 SAS Institute Inc.
- : CXERR: 460351, Line: 227, Qpos: 504
- :
- : Compiler options: NOSTKCHK DEBUG=FULL
- :
- : The logmsg->lm_ArgArray reference seems to cause the CXERR. If I change the code
- : a bit goes the CXERR away:
- : ------------------begin--------------------
- : [...]
- : if(ReqToolsBase = (struct ReqToolsBase *) OpenLibrary(REQTOOLSNAME, 38))
- : {
- : STRPTR argarray = logmsg->lm_ArgArray;
- :
- : logmsg->lm_Return = rtEZRequestTags(mem, logmsg->lm_GadFmt ? (STRPTR) logmsg->lm_GadFmt : (STRPTR) "Continue",
- : NULL, argarray,
- : RTEZ_ReqTitle, logmsg->lm_Program,
- : (pubscreen ? RT_PubScrName : TAG_IGNORE), pubscreen,
- : RT_Underscore, '_',
- : TAG_END);
- :
- : CloseLibrary((struct Library *) ReqToolsBase);
- : }
- : [....]
- : ------------------end--------------------
- :
- : --
- : | Eivind 'Leo' Nordseth | IRC #amiga: Leo | leo@powertech.no |
- : +-------------------------+--------------------+---------------------+
- : | THOR 2.2 Team | http://www.cs.uit.no/~kjelli/thor.html |
- :
- : How many WASPs does it take to change a light bulb?
- : Two: One to change the bulb and one to mix the drinks.
- :
-
- --
- -- |__ o\
- ______ | W \O
- __________ /__ | H\_
- __ ___/_ //_/ | /-\
- _(__ )_ ,< | / \
- /____/ /_/|_| |
- sekruege@nando.net |
-