delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/06/13:43:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <431DD4DC.6020500@familiehaase.de>
Date: Tue, 06 Sep 2005 19:41:48 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: Andreas <aboerner AT sdl DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: BUG report: destructor exception vector<bool>; DLL 1.5.18
References: <431775C6 DOT 7040609 AT sdl DOT com>
In-Reply-To: <431775C6.7040609@sdl.com>
X-IsSubscribed: yes

Andreas wrote:

> Hello,
> 
> I found a bug in the Cygwin environment that blocks me. I condensed the
> problem into one C++ file: all.cc
> I compiles OK, but crashes, when executed.
> 
> I compiled the same file on a LINUX system, it runs there without a problem.
> 
> To me it seems that the deallocation in the destructor fails, when the
> object has a vector<bool> element.
> 
> Please do:
>  g++ -Wall -g -o all.exe all.cc
>  all.exe
> 
> and see if you can reproduce.
> 
> My output is:

$ g++ -Wall -g -o all.C.exe all.C
all.C: In member function `std::string My::UT_Args::getOptArg(int)':
all.C:191: error: missing terminating " character
all.C:192: error: missing terminating " character
all.C:193: error: `arguments' undeclared (first use this function)
all.C:193: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
all.C:193: error: expected `;' before "exit"
all.C: In function `int main(int, char**)':
all.C:270: error: missing terminating " character
all.C:271: error: `Exception' undeclared (first use this function)
all.C:271: error: expected `;' before '!' token
all.C:271: error: missing terminating " character

Sorry, cannot compile this...
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)


Gerrit

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019