Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!att!pacbell!osc!jgk From: jgk@osc.COM (Joe Keane) Newsgroups: comp.emacs Subject: Re: (Major Minor) modeline problem solved (Apollo) Summary: String constants are char pointers. Keywords: broken Apollo compiler Message-ID: <1803@osc.COM> Date: 4 Jan 90 22:19:36 GMT References: <646@voodoo.UUCP> Organization: Object Sciences Corp., Menlo Park, CA Lines: 8 In article <646@voodoo.UUCP> bhagwan@voodoo.UUCP (The Bhagwan) writes: > return ((char *)"[[[[[[[[[[" + 10 - (RecurseDepth - MinibufDepth)); >--add cast here:^^^^^^^^-- > return ((char *)"]]]]]]]]]]" + 10 - (RecurseDepth - MinibufDepth)); >--add cast here:^^^^^^^^-- Don't tell us, tell Apollo; that's definitely a compiler problem. I really wonder what that compiler thinks is the type of a string constant...