Xref: utzoo comp.lang.c:11931 comp.sys.ibm.pc:18205 Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!husc6!panda!genrad!cxd From: cxd@genrad.UUCP (Craig Dawson X2267) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: MSC v5.1 Bug??? Keywords: microsoft c bug question Message-ID: <10102@genrad.UUCP> Date: 19 Aug 88 21:33:07 GMT Distribution: na Organization: GenRad, Inc. Test Systems & Instruments Group Concord, MA Lines: 71 Hi! I think I found a bug in Microsoft 'C' version 5.1, unless this is some kind of ANSI thing. cl -c x.c produces the error message: x.c(6) : error C2129: static function 'z' not found I can find it ;-) ------ x.c : x() { static z(); z(); } y() { static z(); z(); } static z() { ; } ------ x1.c : this file compiles with no errors static z(); x() { z(); } y() { z(); } static z() { ; } ------ Is this really a bug? Am I missing something? Thanks in advance, Craig -- -------------------------------------------------------- Disclaimer: Don't use on heavily soiled carpets! / \ UUCP : ...decvax!genrad!cxd (Craig Dawson) /\ /\ USnail: GenRad, 300 Baker Ave., Concord MA 01742 \ /