Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!bbn!oliveb!pyramid!amdcad!light!bvs From: bvs@light.uucp (Bakul Shah) Newsgroups: comp.std.c Subject: (volatile) foo Message-ID: <1989Sep17.180722.21889@light.uucp> Date: 17 Sep 89 18:07:20 GMT Reply-To: bvs@light.UUCP (Bakul Shah) Organization: - Lines: 18 Is the following legal? char * foo; while ((volatile)foo) continue; If legal, what does (volatile)foo mean -- is it (volatile char *)foo or (volatile int)foo? The former would be more useful. The spec seems to say it is legal but I can not find anything about its meaning. BTW, is anyone working on a denotational semantics definition of ANSI C (or a major subset of it)? Don't laugh. Thanks! -- Bakul Shah <..!{ames,sun,ucbvax,uunet}!amdcad!light!bvs>