HP3000-L Archives

March 2002, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Dirickson <[log in to unmask]>
Reply To:
Steve Dirickson <[log in to unmask]>
Date:
Sat, 30 Mar 2002 15:35:15 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
> For gcc/g++ as of 3.x they are:
>
> -Dmpe
> -DMPE
> -Dhp3000s900
> -D__hp3000s900
> -D__hp3000s900__
> -D__mpe__
> -D__MPE__

FWIW, the first three violate the rules, at least for C, regarding
which identifiers are reserved for the implementation as opposed to
identifiers available for the developer. C reserves identifiers
beginning with a single underscore and a capital letter, or with two
underscores, for the implementation. By those rules, I could
legitimately expect to use a variable named "mpe" or "MPE" in my
program, and would be unpleasantly surprised when it didn't work. It
might be worth checking the C++ spec for compliance; I'd do it myself,
but I don't have a current copy.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2