Path: utzoo!mnetor!uunet!vsi!friedl From: friedl@vsi.UUCP (Stephen J. Friedl) Newsgroups: comp.lang.c Subject: Re: Optimization, volatile (was Re: volatile) Message-ID: <637@vsi.UUCP> Date: 5 May 88 06:04:38 GMT References: <13074@brl-adm.ARPA> <2003@rtech.UUCP> <503@wsccs.UUCP> <2867@bsu-cs.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 28 Summary: #pragma can only be used for volatile declarations? Rahul Dhesi says: < Rob McMahon says: < <> < <> It's been said before, but some people seem to have missed it ... < <> how do you use #pragma to specify all of: < <> < <> volatile int *p; < < #pragma volatile int *p < < <> int *volatile p; < < #pragma int *volatile p What about: typedef struct xxx vector; ...... #pragma vector *volatile p; Is there any chance that a vendor might want to reserve a couple of #pragmas for other uses besides volatile declarations :-)? -- Steve Friedl V-Systems, Inc. (714) 545-6442 3B2-kind-of-guy friedl@vsi.com {backbones}!vsi.com!friedl attmail!vsi!friedl