Optimization, volatile (was Re: volatile)

Every system needs one terry at wsccs.UUCP
Tue May 17 14:01:02 AEST 1988


In article <536 at sol.warwick.ac.uk>, cudcv at daisy.warwick.ac.uk (Rob McMahon) writes:
> 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;
> 	int *volatile p;
> 	volatile int *volatile p;

You use different names and avoid overloading in the first place, since you
evidently realized that they don't all mean the same thing... or, you
get extremely clever in your definition of #pragma's through the use of
appropriate #define's.

				terry at wsccs



More information about the Comp.lang.c mailing list