X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=o10VQ 2pEUHXmRZNV1mnRm3/Vai7YkUF3RSsVanO0C8Dn5ci9T6D9tnfS1tb7vN9/53zAZ TC2S+pMAT1YzXTXi2AKoSwJCuXom5UYIDLolN9q23iAKfJzsbgQ5wO6szJ/2tNHl EYo0g2rRrm+y9BqeNOQjMEOPS5Qf7rBPZQB8Zs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=QPlUEl9FGOQ RgQ6GU/buszAbcVE=; b=FkHZcgqYs4mUhikB7N2yfgn5CJnSDVgBVeIfp4swQyP 8f1D8hlXUwEPS+nbRx53jUq1ZlazIiJd6S1Vuff3ZmmivVy7AfsegziQ4xVVL4JA sDoyuzfvEVD1biN1CawIi2KwTQqNYX1fYIqgpNYGVuCjPmYSEmfcnglHwoYX/Woo = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: g++ doesn't diagnose implicit int error References: Date: Tue, 11 Jun 2019 19:22:18 +0200 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 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