Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: static versus auto initialization Message-ID: <9431@smoke.BRL.MIL> Date: 19 Jan 89 13:01:20 GMT References: <8901182125.AA06523@decwrl.dec.com> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <8901182125.AA06523@decwrl.dec.com> devine@cookie.dec.com (Bob Devine) writes: > For `abc_static', elements [3] and [4] are guarenteed to be zeroed >out. However, for `abc_auto', the same elements are garbage. Most C compilers don't support auto aggregate initialization at all. Whoever added it to your compiler apparently botched it.