Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!lll-winken!news.arc.nasa.gov!vsi1!zorch!amiga0!mykes From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz) Newsgroups: comp.sys.amiga.programmer Subject: Re: SAS C 5.10A has problems Message-ID: Date: 24 Jun 91 21:55:06 GMT References: <1991Jun24.110845.19273@forwiss.uni-passau.de> Organization: Amiga makes it possible Lines: 47 In article <1991Jun24.110845.19273@forwiss.uni-passau.de> hessmann@unipas.fmi.uni-passau.de (Georg Hessmann) writes: >In article mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes: >>Problem #2: >> When compiling some sources, I get CXERR: 99, which is NOT documented >>in the manual. Nice messages, eh folks? Real descriptive :) The compiler >>does not complain about anything else in the source file. This error comes up >>during the Optimizing phase. > >I've got this message, too. >The reason was a varargs function. >If you use varargs functions with the 'va_list' type, try two things: >First, declare the funktion as __stdargs and second, declare the 'va_list' >variable as 'volatile'. > >E.g.: >void __stdargs Message(char *fmt, ...) >{ > volatile va_list list: >... >} > > >[...] >> >>Unhappily working in C, >>Mykes >> >>:):):) >> >>(hope that's enough smileys) > > Thanks for the help, but there are NO varargs usages in the source code. The sources I am compiling is part of a port I'm doing. The original sources were Lattice from a few years back... > Georg. >-- > hessmann@unipas.fmi.uni-passau.de hessmann@unipas.uucp -- **************************************************** * I want games that look like Shadow of the Beast * * but play like Leisure Suit Larry. * ****************************************************