Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-17 Thread Jeff Law
On 11/17/2017 05:40 AM, Jonathan Wakely wrote: > On 16/11/17 09:18 -0700, Martin Sebor wrote: >> On 11/16/2017 03:49 AM, Jonathan Wakely wrote: >>> On 15/11/17 20:28 -0700, Martin Sebor wrote: On 11/15/2017 07:31 AM, Jonathan Wakely wrote: > The docs for -Wmaybe-uninitialized have some iss

Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-17 Thread Jonathan Wakely
On 16/11/17 09:18 -0700, Martin Sebor wrote: On 11/16/2017 03:49 AM, Jonathan Wakely wrote: On 15/11/17 20:28 -0700, Martin Sebor wrote: On 11/15/2017 07:31 AM, Jonathan Wakely wrote: The docs for -Wmaybe-uninitialized have some issues: - That first sentence is looong. - Apparently some C

Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-17 Thread Jonathan Wakely
On 16/11/17 10:59 -0700, Jeff Law wrote: On 11/16/2017 03:49 AM, Jonathan Wakely wrote: On 15/11/17 20:28 -0700, Martin Sebor wrote: On 11/15/2017 07:31 AM, Jonathan Wakely wrote: The docs for -Wmaybe-uninitialized have some issues: - That first sentence is looong. - Apparently some C++ p

Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-16 Thread Jeff Law
On 11/16/2017 03:49 AM, Jonathan Wakely wrote: > On 15/11/17 20:28 -0700, Martin Sebor wrote: >> On 11/15/2017 07:31 AM, Jonathan Wakely wrote: >>> The docs for -Wmaybe-uninitialized have some issues: >>> >>> - That first sentence is looong. >>> - Apparently some C++ programmers think "automati

Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-16 Thread Martin Sebor
On 11/16/2017 03:49 AM, Jonathan Wakely wrote: On 15/11/17 20:28 -0700, Martin Sebor wrote: On 11/15/2017 07:31 AM, Jonathan Wakely wrote: The docs for -Wmaybe-uninitialized have some issues: - That first sentence is looong. - Apparently some C++ programmers think "automatic variable" mean

Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-16 Thread Jonathan Wakely
On 15/11/17 20:28 -0700, Martin Sebor wrote: On 11/15/2017 07:31 AM, Jonathan Wakely wrote: The docs for -Wmaybe-uninitialized have some issues: - That first sentence is looong. - Apparently some C++ programmers think "automatic variable" means one declared with C++11 `auto`, rather than si

Re: [PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-15 Thread Martin Sebor
On 11/15/2017 07:31 AM, Jonathan Wakely wrote: The docs for -Wmaybe-uninitialized have some issues: - That first sentence is looong. - Apparently some C++ programmers think "automatic variable" means one declared with C++11 `auto`, rather than simply a local variable. - The sentence about o

[PATCH] Improve -Wmaybe-uninitialized documentation

2017-11-15 Thread Jonathan Wakely
The docs for -Wmaybe-uninitialized have some issues: - That first sentence is looong. - Apparently some C++ programmers think "automatic variable" means one declared with C++11 `auto`, rather than simply a local variable. - The sentence about only warning when optimizing is stuck in between