#pragma

Stephen Clamage steve at taumet.com
Mon Dec 3 08:07:36 AEST 1990


sue at hprsue.HP.COM (Sue Meloy) writes:

>The only safe thing is for all implementation-specific directives 
>to be protected by ifdefs.  Thus, a conforming program can
>contain pragmas which could affect the behavior of a strictly conforming 
>program, but can continue to be compiled on an implementation that does not
>make use of those pragmas.

Yes, indeed.  Someone posted a question a while back asking about the
meaning of "#pragma once".  My favorite reply was that it turned on
some special features for use by the customer engineer -- there would also
be a "#pragma offce" to disable the special features.
-- 

Steve Clamage, TauMetric Corp, steve at taumet.com



More information about the Comp.std.c mailing list