This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BUG report: destructor exception vector<bool>; DLL 1.5.18


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]