Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Authentication-Warning: smtp1.cern.ch: Host IDENT:root@pb-d-137-138-206-44.cern.ch [137.138.206.44] claimed to be skywalker.cern.ch
Message-ID: <39F722A9.C2B9BFED@cern.ch>
Date: Wed, 25 Oct 2000 20:12:57 +0200
From: "Lassi A. Tuura" <lassi.tuura@cern.ch>
Organization: Northeastern University, Boston, USA
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sources.redhat.com
Subject: Re: unwanted compiler warnings with -pedantic
References: <200010251740.NAA25063@xi.cs.fsu.edu> <20001025134803.A9777@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> Just as an exercise, try to come up with some way, in gcc, to represent
> a 64 bit integer which does not use 'long long'.  That will get rid of
> one of the warnings.

Liberal use of __extension__ has calmed the compiler so that even its
strictest mode doesn't complain (on Linux and for C++, haven't tried
anywhere else yet).  Something like `__extension__ typedef long long
foobar;'.  IIRC glibc headers use that a lot.

Whether or not it will be the right thing to use __extension__ all over
the place for system-interface stuff is altogether a different
question...  I guess if someone cares enough about those warnings they
could submit the patches to apply __extension__.

Cheers and hope this helps,
//lat
-- 
In the End, we will remember not the words of our enemies,
but the silence of our friends.  --Martin Luther King Jr.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

