bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 05/19] ddb/db_expr.h: remove (db_addr_t *) argument name


From: Marin Ramesa
Subject: Re: [PATCH 05/19] ddb/db_expr.h: remove (db_addr_t *) argument name
Date: Wed, 20 Nov 2013 22:28:07 +0100

On 20.11.2013 22:13:34, Samuel Thibault wrote:
> Marin Ramesa, le Wed 20 Nov 2013 21:59:26 +0100, a écrit :
> > On 20.11.2013 21:44:22, Samuel Thibault wrote:
> > > Marin Ramesa, le Wed 20 Nov 2013 21:31:33 +0100, a écrit :
> > > > On 20.11.2013 21:19:24, Guillem Jover wrote:
> > > > > On Wed, 2013-11-20 at 13:53:47 +0100, Marin Ramesa wrote:
> > > > > > -int db_expression(db_expr_t *valuep);
> > > > > > +int db_expression(db_expr_t *);
> > > > > 
> > > > > Why?
> > > > 
> > > > It seems there is a collision in names somewhere where 
> > > > db_expr.h is included. valuep is a pointer to db_addr_t.
> > > 
> > > I don't understand either.  Could you quote what is happening?
> > 
> > This is GCC output:
> > 
> > expected „db_expr_t *” but argument is of type „db_addr_t *”
> > 
> > I concluded there is a collision in namespace.
> 
> Err, no, it's rather the caller which doesn't use the proper type.

Ah, I see. I fixed that warning and it went away, but I concluded this 
patch fixed it. 


reply via email to

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