delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Tue, 28 Nov 2000 14:40:00 -0500 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin support <cygwin AT cygwin DOT com> |
Subject: | Re: __attribute__ ((packed)) and enums not working |
Message-ID: | <20001128144000.A2886@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin support <cygwin AT cygwin DOT com> |
References: | <20001128193251 DOT 9805 DOT qmail AT web114 DOT yahoomail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <20001128193251.9805.qmail@web114.yahoomail.com>; from earnie_boyd@yahoo.com on Tue, Nov 28, 2000 at 11:32:51AM -0800 |
On Tue, Nov 28, 2000 at 11:32:51AM -0800, Earnie Boyd wrote: >--- Bruce Edge <bedge AT sattel DOT com> wrote: >> The packed attribute mechanism seems to work for structs, but not enums: >> >> struct x { char c; int i; } __attribute__ ((packed)); >> enum p { red, green, yellow } __attribute__ ((packed)); >> >> pcl_op.h:144: semicolon missing after declaration of `p' >> >> Has anyone used this successfully? >> > >I don't have a problem with this. Perhaps your pcl_op.h file has \r\n line >endings and you have binary mounts. Well, if *that* is an issue then gcc is broken. This was supposed to have been handled in the newest cygwin gcc release. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |