From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25444 invoked by alias); 28 Aug 2008 23:24:00 -0000 Received: (qmail 25433 invoked by uid 22791); 28 Aug 2008 23:24:00 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Aug 2008 23:23:24 +0000 Received: (qmail 18612 invoked from network); 28 Aug 2008 23:23:22 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Aug 2008 23:23:22 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.68) (envelope-from ) id 1KYqpk-0001CS-N6; Thu, 28 Aug 2008 23:23:20 +0000 Date: Sat, 30 Aug 2008 02:15:00 -0000 From: "Joseph S. Myers" To: =?ISO-8859-1?Q?Manuel_L=F3pez-Ib=E1=F1ez?= cc: Gcc Patch List Subject: Re: [C/C++] PR 13358 long long and C++ do not mix well In-Reply-To: <6c33472e0808281543w5d464fe6r1fa5e584797ac46c@mail.gmail.com> Message-ID: References: <6c33472e0808281543w5d464fe6r1fa5e584797ac46c@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1152306461-2113347063-1219965800=:4350" Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg02331.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1152306461-2113347063-1219965800=:4350 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Content-length: 715 On Fri, 29 Aug 2008, Manuel L=F3pez-Ib=E1=F1ez wrote: > CPP and the FE were using different semantics. invoke.texi said that > Wlong-long was the default. This was not correct. It was the default > for CPP but -Wno-long-long was the default for the FE. Now there is > only one semantic: the one from the FE. >=20 > However, we were inhibiting warning even if the user requested it > through Wlong-long. Now explicit Wlong-long (or Wno-long-long) > overrides everything else, except in system headers. If you allow -Wlong-long to have an effect in C99 mode, -std=3Dc99=20 -pedantic-errors -Wlong-long should give the diagnostics as warnings not=20 errors. Does it? --=20 Joseph S. Myers joseph@codesourcery.com= ---1152306461-2113347063-1219965800=:4350--