From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56253 invoked by alias); 11 Jun 2019 17:22:25 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 56246 invoked by uid 89); 11 Jun 2019 17:22:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=thompson, Thompson, HX-Spam-Relays-External:ESMTPA X-HELO: mx009.vodafonemail.xion.oxcs.net Received: from mx009.vodafonemail.xion.oxcs.net (HELO mx009.vodafonemail.xion.oxcs.net) (153.92.174.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Jun 2019 17:22:24 +0000 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 8D238D9B1C2 for ; Tue, 11 Jun 2019 17:22:21 +0000 (UTC) Received: from Gertrud (unknown [87.185.221.231]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 6359D199C48 for ; Tue, 11 Jun 2019 17:22:19 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: g++ doesn't diagnose implicit int error References: Date: Tue, 11 Jun 2019 17:22:00 -0000 In-Reply-To: (Keith Thompson's message of "Tue, 11 Jun 2019 00:48:10 -0700") Message-ID: <87imtcnik5.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-06/txt/msg00131.txt.bz2 Keith Thompson writes: > On Windows targets (including Cygwin and MinGW), the "-fms-extensions" > option is enabled by default. This option enables certain Microsoft > extensions -- and apparently inhibits any diagnostics for implicit int. > > It is unfortunate, and arguably a bug, that this means that > "g++ -std=c++11 -pedantic" fails to diagnose implicit int errors. > I'm not sure whether this is a bug in gcc or in the way Windows > versions of gcc are built. In the case of Cygwin it is quite certainly a bug as Cygwin is not a Windows target. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple