[PD-dev] Pd for 64-bit linux
Miller Puckette
mpuckett at man104-1.ucsd.edu
Mon Aug 16 20:03:58 CEST 2004
Much better. %p it is. Now to see if Microsoft Visual C can deal with
it....
cheers
MIller
On Mon, Aug 16, 2004 at 10:37:17AM -0400, Mathieu Bouchard wrote:
>
> On Sat, 14 Aug 2004, Miller Puckette wrote:
>
> > I don't have a 64-bit machine handy but would like to try to make Pd
> > runnable on 64-bit linux... I looked in Pd-devel and saw that some, but
> > not all, of the "%x" formatting in calls to sys_vgui() was changed to "%lx",
> > like this:
> > sprintf(buf, ".x%lx", (t_int)owner);
> > but that most of the time, pointers are simpy fed to "%x" like this:
> > sys_vgui(".x%x.c focus %s\n", canvas, x->x_tag);
> > I think the correct thing would be as in,
> > sys_vgui(".x%lx.c focus %s\n", (t_int)canvas, x->x_tag);
>
> > But before I make this change systematically (hundreds of lines
> > affected) I thought I should ask: do we think this is the most
> > portable formulation?
>
> Have you considered %p ?
>
> ________________________________________________________________
> Mathieu Bouchard http://artengine.ca/matju
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-dev
More information about the Pd-dev
mailing list