[OpenAFS-devel] Re: osi_Panic on AIX and IRIX

Derrick Brashear shadow@gmail.com
Tue, 9 Feb 2010 23:43:38 -0500


On Tue, Feb 9, 2010 at 6:20 PM, Andrew Deason <adeason@sinenomine.net> wrote:
> On Tue, 9 Feb 2010 17:13:21 -0600
> Chaz Chandler <clc31@inbox.com> wrote:
>
>> >> Well, I don't know how well it's working out for AIX, but now I'm
>> >> playing wack-a-mole #ifdefing all of the osi_Panic refs elsewhere.
>> >
>> > That's definitely not what you want to do. Panics still need to
>> > panic, right?
>>
>> Not to remove them, but to surround them with ifdefs so that, on those
>> platforms, osi_Panic is in the proper form (always four args).
>
> Taking Simon's suggestion to declare osi_Panic to take an unspecified
> number of arguments ('extern void osi_Panic();') would prevent that
> need, and would avoid a compilation error.
>
> I can't be completely sure it will actually _work_ after compiling, but
> that's in one way one step closer, and would let us know if that is the
> only problem.

I can. It will.


--
Derrick