On 02/22/2017 04:01 AM, Xi Ruoyao wrote:
This patch adds document of -Wstring-plus-int.
gcc/ChangeLog:
2017-02-22 Xi Ruoyao
* doc/invoke.texi (Warning Options): Document -Wstring-plus-int
This is OK for the trunk once all 5 are approved.
jeff
On 2017-02-25 Sat 18:19 +0100, Gerald Pfeifer wrote:
> I.e., after reading the above, I was wondering who'd do "abc" + 1.
>
> Of course, once I looked at your good additions to the testsuite,
> I realized that this is really more about "abc" + '1'. Technically
> the description is correct, since
On Wed, 22 Feb 2017, Xi Ruoyao wrote:
> 2017-02-22 Xi Ruoyao
>
> * doc/invoke.texi (Warning Options): Document -Wstring-plus-int
In principle this looks fine, but...
> +@item -Wstring-plus-int
> +@opindex Wstring-plus-int
> +@opindex Wno-string-plus-int
> +Warn for adding an integer to
This patch adds document of -Wstring-plus-int.
gcc/ChangeLog:
2017-02-22 Xi Ruoyao
* doc/invoke.texi (Warning Options): Document -Wstring-plus-int
---
gcc/doc/invoke.texi | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.