From 19041dad9b7f03b32775864c41649a81ebca8092 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 1 Dec 2017 16:17:32 -0500 Subject: [PATCH] * doc/extend.texi: Mention C++14 library complex suffix. From-SVN: r255339 --- gcc/doc/extend.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 30f89b09699..3d5e15c9744 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -897,6 +897,10 @@ conforming C library (such as the GNU C Library), and want to construct complex constants of floating type, you should include @code{} and use the macros @code{I} or @code{_Complex_I} instead. +The ISO C++14 library also defines the @samp{i} suffix, so C++14 code +that includes the @samp{} header cannot use @samp{i} for the +GNU extension. The @samp{j} suffix still has the GNU meaning. + @cindex @code{__real__} keyword @cindex @code{__imag__} keyword To extract the real part of a complex-valued expression @var{exp}, write -- 2.30.2