From: sl AT psycode DOT com DOT NOSPAM (Gili) Newsgroups: comp.os.msdos.djgpp Subject: Exceptions, worked _before_ GCC 2.8.1. Now don't! - LLIST.H [1/1] Date: 27 May 1998 03:27:53 GMT Organization: All USENET -- http://www.Supernews.com Lines: 325 Message-ID: Reply-To: sl AT psycode DOT com DOT NOSPAM NNTP-Posting-Host: 205.205.118.26 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I recently reinstalled all of DJGPP in order to install GCC 2.8.1 along with it. Previously I have been using the PGCC port to DJGPP (v1.01 I believe it was.) Ever since then, I've been getting stupid, unexplained errors.. I'm going to attach the following code to prove my point. If I'm at fault, I'll eat my hat! ;) The error occures (depending on how you walkthrough the source-code) at different points in SLList_Init... They all report a classic SIGSEGV error.. I've taken a looksee and found no misallocated memory (until later on in SLList_Init which I _know_ is buggy. Once again, I'm concerned with the first 5 lines in SLList_Init, not the later procedures as I know they're buggy. Sorry for attaching files, but it is the only way in this case.. Gili begin 666 LLIST.H M(VEF;F1E9 AT E?7V-P;'5S<&QU2!F;W(@=&AE;2P@=VEL;"!H96QP#0HO+V%P<',@=VAI8V@@=7-E(&5X8V5P M=&EO;B!H86YD;&EN9RX AT 5&AE>2!C86X AT 9&5L971E(&1A;6%G961?;F]D93L- M"B\O)VYO9&4G/3U.54Q,('=H96X AT 96UP='DH*0T*+R\H4TQ.;V1E)BES;VUE M3&ES="P@=VAE7!E2!O9B!I="P-"B`@("`@("!I=',@<&]I;G1E2!O M9B!405)'150-"B`@("`@("`@('-E='9A;'5E*&EN="!T87)G970I.R`@("\O M=&AI2P@;F]T('1O M(&=E;F5R86P-"B`@("`@("!UPT*<'5B;&EC DOT AT T*#0HO*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*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