Re: g++ doesn't diagnose implicit int error

2019-06-11 Thread Brian Inglis
On 2019-06-11 11:22, Achim Gratz wrote: > 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 u

Re: g++ doesn't diagnose implicit int error

2019-06-11 Thread Achim Gratz
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

Re: g++ doesn't diagnose implicit int error

2019-06-11 Thread Keith Thompson
I believe this answer by user "M.M" on Stack Overflow explains the issue: https://stackoverflow.com/a/56537459/827263 On Windows targets (including Cygwin and MinGW), the "-fms-extensions" option is enabled by default. This option enables certain Microsoft extensions -- and apparently inhibits an