Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!caesar.cs.montana.edu!ogccse!littlei!omepd!iwarpr4!pcm From: pcm@iwarpr4.intel.com (Phil Miller) Newsgroups: comp.os.minix Subject: Re: Compiler Quirks (cdecl port) Keywords: *yyout = stdout Message-ID: <5296@omepd.UUCP> Date: 30 Nov 89 14:22:14 GMT References: <5674@umd5.umd.edu> Sender: news@omepd.UUCP Reply-To: pcm@iwarpr4.UUCP (Phil Miller) Organization: Intel Corp., Hillsboro Lines: 26 In article <5674@umd5.umd.edu> cgs@umd5.umd.edu (Chris G. Sylvain) writes: >Cdecl has compiled, and responds to 'declare i as int' .. after that the >interesting stuff happens... >Problem #1: The construct "FILE *yyout = stdout;" generates the error message > "illegal initialisation". >What's the best workaround? (I've considered a few ideas, but would like to >know from the 'experts' [as they are] what is *best*) >Oh.. yes I'm using v1.3d, so this isn't a v1.2 stdio problem. Try enclosing `stdio' in braces, e.g., `{stdio}'. I have seen that work on other compilers, though note that I haven't tried it on MINIX... Phil Miller pcm@iwarp.intel.com