delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/25/14:14:17

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
X-Authentication-Warning: smtp1.cern.ch: Host IDENT:root AT pb-d-137-138-206-44 DOT cern DOT 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 DOT tuura AT cern DOT 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 AT sources DOT redhat DOT com
Subject: Re: unwanted compiler warnings with -pedantic
References: <200010251740 DOT NAA25063 AT xi DOT cs DOT fsu DOT edu> <20001025134803 DOT A9777 AT redhat DOT com>

> 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019