Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!princeton!udel!rochester!bbn!husc6!linus!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP Newsgroups: comp.lang.c Subject: Re: question about pointers Message-ID: <897@mcgill-vision.UUCP> Date: Tue, 22-Sep-87 01:25:59 EDT Article-I.D.: mcgill-v.897 Posted: Tue Sep 22 01:25:59 1987 Date-Received: Sat, 3-Oct-87 06:10:00 EDT References: <276@ndmath.UUCP> Organization: McGill University, Montreal Lines: 25 In article <276@ndmath.UUCP>, dean@ndmath.UUCP (Dean Alvis) writes: > the new [ie, ANSI draft standard] syntax for pointer declarators > allows declarators of the form > '*' type_specifier_list declarator. > [is type_specifier_list restricted?] in particular, would the > declaration > extern * int ptr_to_int; > be legal under dpANSI-C? my own opinion is that this would be > illegal, since the declaration specifier "extern" would default to > "extern int", leading to two actual types in the declaration. By that logic, extern int *foo; is illegal because the leading extern defaults to extern int, resulting in two actual types again. der Mouse (mouse@mcgill-vision.uucp)