This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Is this a bug or I misunderstand?


Hi,Neil:
    Thank you very much,yeah,the func-decl is not useless
when it is used in function-scope.

Regards
    Maggie
----- Original Message -----
From: "Neil Booth" <neil@daikokuya.demon.co.uk>
To: "maggie_shh" <maggie_shh@hotmail.com>
Cc: "Andrew Pinski" <pinskia@physics.uc.edu>; <gcc@gnu.org>
Sent: Monday, June 17, 2002 2:51 PM
Subject: Re: Is this a bug or I misunderstand?


> maggie_shh wrote:-
>
> > What I mean is that maybe we should not permit func-decl in
function-scope
> > in g++,
> > because It is useless.
>
> It's not useless.  I suggest you take your questions to an appropriate
> newsgroup (e.g. comp.lang.c++).
>
> > > but If I change "A b();" to "A b(1);",It will be right and the
behaviour
> > is
> > > as I had said.
> > > It show us that the c++ compiler do not take it as local function
> > > declaration.
>
> No, it just shows that the two declarations are not the same.
>
> Neil.
>


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