#pragma C compiler directive
Bob Sutterfield
bob at morningstar.com
Fri Nov 17 11:12:11 AEST 1989
In article <2860 at brazos.Rice.edu> grover at sed170.hac.com (Dean Grover) writes:
| While looking in /usr/include/vfork.h under SunOS 4.0.3, I noticed
| the following line:
|
| #pragma unknown_control_flow(vfork)
|
| I can guess what that means to the C compiler, but my question is,
| where is the #pragma compiler directive documented ? I haven't
| been able to find it anywhere.
It's an ANSIism. See K&R II, appendix A 12.8, concerning the
preprocessor.
Also, besides "unknown_control_flow", what other options exist ?
It's implementation-dependent. Ask your compiler author. Oddly enough,
#pragma isn't in the SunOS 4.0.3 cc(1), cpp(1), or m4(1V) pages, nor in
the hardcopy _C_Programmer's_Guide_.
More information about the Comp.sys.sun
mailing list