From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a9ab85350957935d X-Google-Attributes: gid1164f8,public From: Jeff Sullivan Subject: Re: C++ V6.0 bug Date: 1998/08/19 Message-ID: <35DB02A4.C2801A53@zk3.dec.com>#1/1 X-Deja-AN: 382694742 Content-Transfer-Encoding: 7bit References: <6reqc6$8v8$1@newsserv.zdv.uni-tuebingen.de> Content-Type: text/plain; charset=us-ascii Organization: Compaq Computer Corporation Mime-Version: 1.0 Newsgroups: comp.sys.dec Bernd Kardatzki wrote: > 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. This is the most reported bug in DIGITAL C++ V6.0-010! Sorry for the inconvenience. It should be fixed in the latest V6.0 Maintenance Update Kit, which you can download from ftp://gatekeeper.dec.com/ For DIGITAL C++ V6.0-021 (Maintenance Update Kit) ... May, 1998 Use: ftp://gatekeeper.dec.com/private/deccxx/CXX600V21.tar Let me know if this does or doesn't resolve your problems. Thanks, -Jeff -- Jeff Sullivan | Compaq Computer Corp | jps@zk3.dec.com DEC C and C++ | Nashua, NH ZK3-2/2X29 | sullivan@zko.dec.com