Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!UREGINA1.BITNET!MCARTSHA From: MCARTSHA@UREGINA1.BITNET (Shan Mcarthur) Newsgroups: comp.sys.amiga Subject: LC4.01 bug? Initalizing strings Message-ID: <8912071519.AA04620@jade.berkeley.edu> Date: 7 Dec 89 15:17:06 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 15 Hi. I have been having problems with my lattice 4. I am trying to initialize a string. The code is as follows: char *days[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; main () { } It doesn't compile correctly. I get warnings. I have looked in many of my C manuals and they all say it is perfectly legal. What is happening? Is there a bug in LC4.01? Or am I missing something? Shan (reply to mcartsha@uregina1 please)