confuse-devel
[Top][All Lists]
Advanced

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

Re: [Confuse-devel] CFG_SIMPLE_INT on 64bit machine


From: Carlo Marcelo Arenas Belon
Subject: Re: [Confuse-devel] CFG_SIMPLE_INT on 64bit machine
Date: Fri, 30 Apr 2010 09:14:08 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Apr 29, 2010 at 11:23:04AM +0200, Martin Hedenfalk wrote:
> 
> could you please test the patch by Carlo and verify that you indeed get a 
> compiler warning if you pass an int pointer to CFG_SIMPLE_INT?

I did indeed use Martin's bug.c example for testing and shows the
following warning when compiled :

$ gcc -Wall -I. -lconfuse -o bug bug.c
bug.c:7: warning: initialization from incompatible pointer type

> We should probably still add the comment about int vs long int though.

agree

Carlo




reply via email to

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