Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!ucla-cs!uci-ics!news From: schmidt@zola.ics.uci.edu (Doug Schmidt) Newsgroups: gnu.g++.bug Subject: Re: Extern union declaration crashes g++1.35 Keywords: g++ Message-ID: <1989Oct4.185111.20577@paris.ics.uci.edu> Date: 4 Oct 89 18:51:11 GMT References: <486@tnosoes.UUCP> Sender: news@paris.ics.uci.edu (Network News) Reply-To: schmidt@zola.ics.uci.edu (Doug Schmidt) Organization: University of California, Irvine - Dept of ICS Lines: 24 In-reply-to: tom@tnosoes.UUCP (Tom Vijlbrief) In article <486@tnosoes.UUCP>, tom@tnosoes (Tom Vijlbrief) writes: >The following program crashes g++1.35 >================externcrash.cc============= >extern "C" { >/* structure used to specify fields in a 32-bit pixel */ >union fbunit { > unsigned int packed; /* whole-sale deal */ > struct { > unsigned int A:8; /* unused, for now */ > unsigned int B:8; /* blue channel */ > unsigned int G:8; /* green channel */ > unsigned int R:8; /* red channel */ > } channel; /* access per channel */ >}; >}; This problem is fixed in 1.36.0- Doug -- schmidt@ics.uci.edu (ARPA) | Per me si va nella citta' dolente. office: (714) 856-4043 | Per me si va nell'eterno dolore. | Per me si va tra la perduta gente. | Lasciate ogni speranza o voi ch'entrate.