[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: context.hh and

From: Joe Neeman
Subject: Re: context.hh and
Date: Mon, 28 Sep 2009 10:26:39 -0700

On Mon, 2009-09-28 at 18:04 +0100, Neil Puttock wrote:
> 2009/9/27 Ian Hulin <address@hidden>:
> > Declared in only are:
> > general_pushpop_property (which calls sloppy_general_pushpop_property)
> > execute_override_property
> This looks like an oversight, since they should also be prototyped (of
> course g++ doesn't complain here, but according to my C++ reference,
> function prototypes are compulsory).

In C++, a function must be either prototyped or defined before being
used. In this case, it's defined before being used, so that's ok. Since
it seems to be used only within the file, though, it should probably be
marked "static."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]