Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* C++ V6.0 bug
@ 1998-08-19  4:00 Bernd Kardatzki
  1998-08-19  4:00 ` Jeff Sullivan
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Kardatzki @ 1998-08-19  4:00 UTC (permalink / raw)


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  \-|



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-08-20  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-19  4:00 C++ V6.0 bug Bernd Kardatzki
1998-08-19  4:00 ` Jeff Sullivan
1998-08-20  4:00   ` Bernd Kardatzki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox