public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: g++ doesn't diagnose implicit int error
Date: Tue, 11 Jun 2019 17:22:00 -0000	[thread overview]
Message-ID: <87imtcnik5.fsf@Rainer.invalid> (raw)
In-Reply-To: <CAAHpriNaC5YMpuBkNuf92ABTZUAxJ6xi8pQo3kxuxNgqSywPFA@mail.gmail.com>	(Keith Thompson's message of "Tue, 11 Jun 2019 00:48:10 -0700")

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

  reply	other threads:[~2019-06-11 17:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10  4:38 Keith Thompson
2019-06-11  7:48 ` Keith Thompson
2019-06-11 17:22   ` Achim Gratz [this message]
2019-06-11 18:35     ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imtcnik5.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).