Path: utzoo!attcan!uunet!aplcen!samsung!cs.utexas.edu!rice!sun-spots-request From: bob@morningstar.com (Bob Sutterfield) Newsgroups: comp.sys.sun Subject: Re: #pragma C compiler directive Keywords: Software Message-ID: <3125@brazos.Rice.edu> Date: 17 Nov 89 00:12:11 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Refs: Original: v8n189 X-Sun-Spots-Digest: Volume 8, Issue 201, message 3 of 27 In article <2860@brazos.Rice.edu> grover@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_.