Re: #IFDEFs in a multi platform environment
From: John Smith (a_at_nonymous.com)
Date: 09/30/04
- Next message: Bob Koehler: "Re: #IFDEFs in a multi platform environment"
- Previous message: Keith Parris: "Re: Odd behavior in XFC cache"
- In reply to: Stanley F. Quayle: "Re: #IFDEFs in a multi platform environment"
- Next in thread: Bob Koehler: "Re: #IFDEFs in a multi platform environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 12:41:26 -0400
Stanley F. Quayle wrote:
> On 30 Sep 2004 at 14:22, Fred Kleinsorge wrote:
>> In retrospect, most of the changes needed in porting truly are a
>> result of an inappropriate use of __ALPHA to mean NOT __VAX. The
>> compiler is (I believe) being changed so that the redefinition of
>> __ALPHA is an informational as opposed to a warning - for those not
>> able or willing to make the source code changes.
>
> The Itanium porting guide says not to redefine "__ALPHA" and other
> such pre-defined symbols. Doing so will cause the system-provided
> header files to break.
>
> It's a pain, but I changed about 200 "#ifdef __ALPHA" to "#ifndef
> VAX" in my client's code. And you will have to do it, too.
>
> The good news is that you'll probably not have to change this again
> for the next processor.
Power 5??
- Next message: Bob Koehler: "Re: #IFDEFs in a multi platform environment"
- Previous message: Keith Parris: "Re: Odd behavior in XFC cache"
- In reply to: Stanley F. Quayle: "Re: #IFDEFs in a multi platform environment"
- Next in thread: Bob Koehler: "Re: #IFDEFs in a multi platform environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|