[Please reply *only* to the list and do not include my email directly in the To: or Cc: of your reply; otherwise I will not see your reply. Thanks.]
In article <[email protected]>, Yuri via cfe-users <[email protected]> writes: > On 03/27/18 02:43, Jonas Toth via cfe-users wrote: > > I believe the default standard did change to c++14. How did you compile? > > Could you make a case in godbolt.org? > > I compiled without arguments. Adding -std=c++11 or -std=c++98 doesn't > change the error message. It looks like a bug in the standard library implementation. 1i is supposed to yield a std::complex<double>, but from the error message it appears to be yielding a "_Complex int"? I'm using this as a reference: <http://en.cppreference.com/w/cpp/numeric/complex/operator%22%22i> -- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Terminals Wiki <http://terminals-wiki.org> The Computer Graphics Museum <http://ComputerGraphicsMuseum.org> Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com> _______________________________________________ cfe-users mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
