EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Getting alh to run on AMD64 (linux 64-bit OS)
From: Eric Norum <[email protected]>
To: Kay-Uwe Kasemir <[email protected]>
Cc: Core talk list <[email protected]>
Date: Tue, 31 Oct 2006 15:41:52 -0600
On Oct 31, 2006, at 3:37 PM, Kay-Uwe Kasemir wrote:

Hi:

Not re-defining NULL is good.

The specific fix for alh or other code that uses var-arg, however,
is to ignore the old man pages that might talk about NULL,
and always cast 0 to the specific type:

   some_func("widgetWidth", (int) 0,
             "callback_arg", (void *) 0,
             "num_entries", (long) 0,  ...)

For all these, NULL might have worked on 32 bit,
but it won't now.

Yep, but as you pointed out this represents a significant amount of work (and therefore is unlikely to ever happen).

--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



Replies:
Re: Getting alh to run on AMD64 (linux 64-bit OS) Ernest L. Williams Jr.
References:
Re: Getting alh to run on AMD64 (linux 64-bit OS) Andrew Johnson
Re: Getting alh to run on AMD64 (linux 64-bit OS) Kay-Uwe Kasemir

Navigate by Date:
Prev: Re: Getting alh to run on AMD64 (linux 64-bit OS) Kay-Uwe Kasemir
Next: Re: Getting alh to run on AMD64 (linux 64-bit OS) Ernest L. Williams Jr.
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Getting alh to run on AMD64 (linux 64-bit OS) Kay-Uwe Kasemir
Next: Re: Getting alh to run on AMD64 (linux 64-bit OS) Ernest L. Williams Jr.
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·