Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!munnari!otc!mikem From: mikem@otc.OZ (Mike Mowbray) Newsgroups: comp.os.minix Subject: Re: C-compiler ignores "static" Message-ID: <124@otc.OZ> Date: Sat, 30-May-87 20:52:51 EDT Article-I.D.: otc.124 Posted: Sat May 30 20:52:51 1987 Date-Received: Wed, 3-Jun-87 02:08:45 EDT References: <1189@botter.cs.vu.nl> Organization: O.T.C. Systems Development, Australia Lines: 16 in article <1189@botter.cs.vu.nl>, ast@cs.vu.nl (Andy Tanenbaum) says: > > For long and complicated reasons, the MINIX C compiler effectively > ignores static declarations. Thus if you have a declaration > static int x= 1; > that appears in two files, when you link them you will get multiply defined > symbols. Are there any other surprises in the C-compiler we should know about? (This one seems to imply that C++ couldn't be used with this C-compiler.) Mike Mowbray Systems Development Overseas Telecommunications Commission (Australia) UUCP: {seismo,mcvax}!otc.oz!mikem ACSnet: mikem@otc.oz