From: Jason Merrill Date: Fri, 1 Dec 2017 21:17:32 +0000 (-0500) Subject: * doc/extend.texi: Mention C++14 library complex suffix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19041dad9b7f03b32775864c41649a81ebca8092;p=gcc.git * doc/extend.texi: Mention C++14 library complex suffix. From-SVN: r255339 --- 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