| Title: | Alpha Developer Support |
| Notice: | [email protected], 800-332-4786 |
| Moderator: | HYDRA::SYSTEM |
| Created: | Mon Jun 06 1994 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3722 |
| Total number of notes: | 11359 |
Company Name : COMPUTEC GmbH Software
Contact Name : Wolfgang Haefelinger
Phone : ++49 721 98160-106
Fax : ++49 721 98160-129
Email : [email protected]
Date/Time in : 24-FEB-1997 12:48:07
Entered by : Nick Hudson
SPE center : REO
Category : unix
OS Version : 4
System H/W :
Brief Description of Problem:
-----------------------------
From: ESSB::ESSB::MRGATE::"ILO::ESSC::bsanting" 24-FEB-1997 12:38:38.53
To: RDGENG::ASAP
CC:
Subj: POINT No.20729, COMPUTEC GmbH Software
From: NAME: ESCTECH@ILO
TEL: (822-)6704
ADDR: ILO <bsanting@ESSC@ILO>
To: ASAP@RDGENG@MRGATE
Hello -
POINT Log Number 20729
>---- COMPUTEC GmbH Software -----------------------------------
>x Wolfgang Haefelinger PHONE: ++49 721 98160-106 x
>x Hirschstr. 71 FAX: ++49 721 98160-129 x
>x 76133 Karlsruhe - Germany MAIL: [email protected] x
>---------------------------------------------------------------
Operating System, Version DU 4.0
Platform
Problem Statement
>when compiling that tiny C++ program, your DEC cxx
>compiler fails with the following error message:
>
>cxx: Fatal: A memory access violation (bus error or
>segmentation fault) has occurred. Please submit a
>problem report.
>
>======================= decbug.cpp ===================
>template <class T>
>class vector {
> public:
> vector(int n, const T& value = T());
>};
>
>class A {
> public:
> class nested {
> public:
> // nested();
> ~nested();
> };
>};
>
>void main()
>{
> vector<A::nested> vec;
>}
>======================================================
>
>
>Operating system:
>% uname -a => OSF1 macao.ctec-sw.com V4.0 464 alpha
>
>compiler:
>% cxx -V
>cxx (cxx)
>DEC C++ V5.5-004 on Digital UNIX (Alpha)
>
>
>Note: When uncommenting the default constructor `nested()'
>the program compiles (but does not link, but thats not the
>problem here).
>
>Ciao, Wolfi.
>
>---- COMPUTEC GmbH Software -----------------------------------
>x Wolfgang Haefelinger PHONE: ++49 721 98160-106 x
>x Hirschstr. 71 FAX: ++49 721 98160-129 x
>x 76133 Karlsruhe - Germany MAIL: [email protected] x
>---------------------------------------------------------------
Regards,
Ben
QED Qualitas Est Demonstrandum
==============================
Ben Santing, Technical Consultant Phone: DTN 822 4330
European Customer Service Centre Phone: DTN 822 4269
Digital Equipment International B.V. FAX: DTN 822 4445
In replying, please use [email protected]
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3227.1 | KZIN::HUDSON | That's what I think | Tue Feb 25 1997 08:28 | 21 | |
From: DEC:.REO.REOVTX::HUDSON "[email protected] - UK Software Partner Engineering 830-4121" 24-FEB-1997 16:15:30.25 To: nm%vbormc::"[email protected]" CC: HUDSON Subj: RE: POINT No.20729, COMPUTEC GmbH Software Hello Wolfgang Haefelinger Thanks for your ASAP mail regarding the cxx compiler accvio. I reproduced the problem and posted it to the engineering group, I reproduce their answer below. Can you let me know if this helps you? I.e. are the workarounds they suggest helpful? Regards Nick Hudson Digital Software Partner Engineering. <workaround included...> | |||||
| 3227.2 | KZIN::HUDSON | That's what I think | Tue Feb 25 1997 08:28 | 57 | |
From: VBORMC::"[email protected]" "Wolfgang Haefelinger" 24-FEB-1997 18:17:24.27 To: "[email protected] - UK Software Partner Engineering 830-4121 24-Feb-1997 1615 +0000" <[email protected]> CC: Subj: Re: POINT No.20729, COMPUTEC GmbH Software [email protected] - UK Software Partner Engineering 830-4121 24-Feb-1997 1615 +0000 wrote: > Can you let me know if this helps you? I.e. are the workarounds > they suggest helpful? Well, the workaround is helpfull (and the other workaround indicated in my original mail is helpful too). However, what I forgot to say was that at the beginning, the class 'nested' had neither a default constructor nor a destructor -- and all works well. Then I ported my programm on WINNT using the Symantec 7.2 C++ Compiler. The Symantec Compiles requested then a missing destructor -- which I added. A few days later, cxx fails to compile. Because I did some other minor changes in the meantime, I didn't know what thing the trouble caused! Ciao, Wolfi. ---- COMPUTEC GmbH Software ----------------------------------- x Wolfgang Haefelinger PHONE: ++49 721 98160-106 x x Hirschstr. 71 FAX: ++49 721 98160-129 x x 76133 Karlsruhe - Germany MAIL: [email protected] x --------------------------------------------------------------- % ====== Internet headers and postmarks (see DECWRL::GATEWAY.DOC) ====== % Received: from mail.vbo.dec.com (mail.vbo.dec.com [16.36.208.34]) by vbormc.vbo.dec.com (8.7.3/8.7) with ESMTP id TAA18730 for <[email protected]>; Mon, 24 Feb 1997 19:14:17 +0100 % Received: from server21.digital.fr (server21.digital.fr [193.56.15.21]) by mail.vbo.dec.com (8.7.3/8.7) with ESMTP id TAA19742 for <[email protected]>; Mon, 24 Feb 1997 19:19:01 +0100 (MET) % Received: from ctec-sw.com (sevilla.ctec-sw.com [194.152.54.33]) by server21.digital.fr (8.7.5/8.7) with SMTP id TAA11642 for <[email protected]>; Mon, 24 Feb 1997 19:05:57 +0100 (MET) % Received: from katmandu (katmandu.ctec-sw.com [194.152.54.18]) by ctec-sw.com (8.6.12/8.6.12) id TAA29040; Mon, 24 Feb 1997 19:00:19 +0100 % Sender: [email protected] % Message-ID: <[email protected]> % Date: Mon, 24 Feb 1997 19:01:06 +0100 % From: Wolfgang Haefelinger <[email protected]> % X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.5 sun4m) % MIME-Version: 1.0 % To: "[email protected] - UK Software Partner Engineering 830-4121 24-Feb-1997 1615 +0000" <[email protected]> % Subject: Re: POINT No.20729, COMPUTEC GmbH Software % References: <[email protected]> % Content-Type: text/plain; charset=us-ascii % Content-Transfer-Encoding: 7bit | |||||