* 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* Re: C++ V6.0 bug
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
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Sullivan @ 1998-08-19 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: C++ V6.0 bug
1998-08-19 4:00 ` Jeff Sullivan
@ 1998-08-20 4:00 ` Bernd Kardatzki
0 siblings, 0 replies; 3+ messages in thread
From: Bernd Kardatzki @ 1998-08-20 4:00 UTC (permalink / raw)
Jeff Sullivan <jps@zk3.dec.com> wrote:
: 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
thanks a lot,
problem solved.
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