[Gluster-devel] 32/64 bits portability

Niels de Vos ndevos at redhat.com
Mon Aug 11 15:16:28 UTC 2014


On Mon, Aug 11, 2014 at 10:15:38AM -0400, Justin Clift wrote:
> ----- Original Message -----
> > ----- Original Message -----
> > <snip>
> > > Fixing this warning in meta-helpers.c means modifying libglusterfs
> > > interfaces and cause a widespread change, hence I will not submit it,
> > > but I just share that information in case some courageous developer want
> > > to give it a try for the sake of portability.
> > 
> > Would you be ok to create a BZ for this?  If you don't have the
> > time/inclination, just let me know and I'll do it. :)
> 
> Created a BZ for this:
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=1128771
> 
> Niels, do you reckon this is an EasyFix candidate?

Probably, yes. But please include a way on reproducing the warnings. For 
example, on can build GlusterFS master on Fedora Rawhide i386 or Fedora 
armv7hl. If possible, also give an example on how casting is correctly 
done.

A build.log from Fedora Rawhide/i386 contains the same warnings. Search 
for -Wformat in
http://download.gluster.org/pub/gluster/glusterfs/nightly/glusterfs/fedora-rawhide-i386/glusterfs-3.7dev-0.77.gitccb5dc0.autobuild/build.log

Thanks,
Niels


More information about the Gluster-devel mailing list