I foudn that the following program compiles okay with gcc-4.0. But it report
"bad_alloc" when executed with common account. However, when I tried to run it
with root, it becomes okay again.
// .hh file
#ifndef _MC_STATE_H_
#define _MC_STATE_H_
#include
#include
#include
#include
#include
--- Additional Comments From gnu04 at yahoo dot com 2005-04-24 14:31
---
Created an attachment (id=8725)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8725&action=view)
The .cc file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21189
--- Additional Comments From gnu04 at yahoo dot com 2005-04-24 14:32
---
Created an attachment (id=8726)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8726&action=view)
the .hh file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21189
--- Additional Comments From gnu04 at yahoo dot com 2005-04-25 16:27
---
Subject: Re: weird behavior
Thanks a lot! And sorry for the spamming. I should be
careful.
Andy
--- pinskia at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
>
> --- Additional Comments From pi
.
--
Summary: member function pointers
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gnu04 at yahoo dot com
--- Additional Comments From gnu04 at yahoo dot com 2005-04-28 19:08
---
Created an attachment (id=8759)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8759&action=view)
This is the source file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21269