Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!watmath!watcgl!andrewt From: andrewt@watsnew.waterloo.edu (Andrew Thomas) Newsgroups: gnu.ghostscript.bug Subject: Re: Procedure prototypes defined before structures Message-ID: Date: 12 Oct 89 00:47:44 GMT References: Sender: daemon@watcgl.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 12 In-reply-to: andrewt@watsnew.waterloo.edu's message of 11 Oct 89 01:50:43 GMT For those of you who don't read gnu.gcc.bug, the previously reported problem is an artifact of incorrect ANSI programming style in the ghostscript code. GCC follows the ansi spec in this case. So it's official: you must declare the structures in a prototype before you declare the prototype itself. This should definitely be a fix for ghostscript 1.4. -- Andrew Thomas andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo "If a million people do a stupid thing, it's still a stupid thing." - Opus