Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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> 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 AT sourceware DOT cygnus DOT com