Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!uw-beaver!milton!rburgess From: rburgess@milton.u.washington.edu (Rick Burgess) Newsgroups: comp.lang.c Subject: typedef struct a_name list_type[MAX]; Keywords: typedef struct arrays Message-ID: <1991Jun18.201913.16800@milton.u.washington.edu> Date: 18 Jun 91 20:19:13 GMT Organization: University of Washington Lines: 21 Can somebody tell me how to do the following (I get an error message): #define MAX 500 struct a_name { short x; time_t y; char z; } /* in other words, some miscellaneous, properly defined struct */ typedef struct a_name list_type[MAX]; I presume there is just some little syntax problem here, or that it just cannot be done. The VAX/VMS compiler I'm using bombs out saying: %CC-W-TYPECONFLICT, "struct" conflicts with a previous data type in this declaration; previous data type ignored. Thanks ahead of time for any responses either via email, or posted. rburgess@austen.u.washington.edu