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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,f59c1f5fb86a1b54,start X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,a0e076952eca80d4 X-Google-Attributes: gid103376,public From: nasser@apldbio.com (Nasser Abbasi) Subject: Re: Ada and C++ asserts. Date: 1996/07/15 Message-ID: #1/1 X-Deja-AN: 168430527 sender: news@biosys.apldbio.COM references: to: nasser@apldbio.com (Nasser Abbasi) original-sender: nasser@apldbio.com followup-to: comp.lang.ada organization: Applied BioSystems newsgroups: comp.lang.ada,comp.lang.c++ Date: 1996-07-15T00:00:00+00:00 List-Id: From: nasser@apldbio.com (Nasser Abbasi) ref (me): calling assert from C++ generates core dump, but not from Ada. Someone just pointed out to me that C/C++ assert can generate a core dump, and this is an expected behaviour. So, It seems there is nothing wrong with the C++ program, it core dumps becuase this is what it is supposed to do. I think this is not natural behaviour, but since it is documented like this, one can't argue with it. Nasser -- Nasser Abbasi. C/C++/Ada Solaris. GeneAssist - A client/server application for Nucleic acid and protein sequence search and analysis. Perkin Elmer - Applied BioSystem division. email: nasser@apldbio.com MSEE(control), MSCS, MSCE, FM (Fide Chess Master).