Mail Archives: djgpp/1997/08/23/03:52:28
Charles Krug wrote:
> #pragma is "standard". I am fairly certain that it is also ANSI.
Yes, it is. It's one of those interestings that is required by the
standard, but is left completely implementation-dependent (that's what
it's for). That is, #pragma is perfectly standard, but if you ever use it
to accomplish something, you're by definition making your program
platform-specific. Which is complicated by the issue that if an
unrecognized #pragma is discovered on another compiler, the standard
dictates that it be ignored. Which means you might naively not even know
what the platform-specific behavior you were requesting is not happening
-- particularly if you're porting someone else's (poorly documented) code.
--
Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"Love is not love which alters / when it alteration finds."
/ William Shakespeare, _Sonnets_, 116
- Raw text -