2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== 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