From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a9ab85350957935d,start X-Google-Attributes: gid1164f8,public From: Bernd Kardatzki Subject: C++ V6.0 bug Date: 1998/08/19 Message-ID: <6reqc6$8v8$1@newsserv.zdv.uni-tuebingen.de>#1/1 X-Deja-AN: 382664692 Sender: Bernd Kardatzki Organization: ZDV Uni-Tuebingen User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.0.34 (i686)) Newsgroups: comp.sys.dec hi, compiling the following with DIGITAL C++ V6.0-010 on DIGITAL UNIX V4.0 (Rev. 878) int main(int argc, char **argv){ bool pressed = 0; bool released; released = pressed ? false : true; // but hey this is ok: // released = pressed ? true : false; return 0; } fails with cxx: Fatal: A memory access violation (bus error or segmentation fault) has occurred. Please submit a problem report. Seems more to be a curiosity than a big problem, but it's real bad if it happens anywhere inside a large source file. As already mentioned in a posting yesterday i just don't know where to submit this report, but i think it can be a helpfull information for some people and i hope that somebody at digital reading this group can acknowledge the problem or even tell me that a fixed compiler version exists (and how to get it). thanks bernd --- Bernd Kardatzki __________________________________________________ \ Radiologische Klinik, Neuroradiologie, Sektion Exp.Kernspinresonanz | \ Hoppe-Seylerstr.3, D-72076 Tuebingen, Germany \--| \ bdkardat@med.uni-tuebingen.de, 049 (0)7071 2980535, Fax 294371 \-|