Re: #IFDEFs in a multi platform environment
From: Stanley F. Quayle (squayle_at_insight.rr.com)
Date: 09/30/04
- Next message: Carl Karcher: "Re: "frozen" application by using Advanced Server Share"
- Previous message: Ed Vogel: "Re: #IFDEFs in a multi platform environment"
- Maybe in reply to: JF Mezei: "#IFDEFs in a multi platform environment"
- Next in thread: John Smith: "Re: #IFDEFs in a multi platform environment"
- Reply: John Smith: "Re: #IFDEFs in a multi platform environment"
- Reply: Bob Koehler: "Re: #IFDEFs in a multi platform environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 11:24:05 -0400
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.
--Stan Quayle
Quayle Consulting Inc.
----------
Stanley F. Quayle, P.E. N8SQ +1 614-868-1363
8572 North Spring Ct., Pickerington, OH 43147 USA
stan-at-stanq-dot-com http://www.stanq.com
- Next message: Carl Karcher: "Re: "frozen" application by using Advanced Server Share"
- Previous message: Ed Vogel: "Re: #IFDEFs in a multi platform environment"
- Maybe in reply to: JF Mezei: "#IFDEFs in a multi platform environment"
- Next in thread: John Smith: "Re: #IFDEFs in a multi platform environment"
- Reply: John Smith: "Re: #IFDEFs in a multi platform environment"
- Reply: Bob Koehler: "Re: #IFDEFs in a multi platform environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|