g++ doesn't diagnose implicit int error

Achim Gratz Stromeko@nexgo.de
Tue Jun 11 17:22:00 GMT 2019


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



More information about the Cygwin mailing list