[ https://issues.apache.org/jira/browse/STDCXX-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-570. ------------------------------- Resolution: Fixed Fixed as follows: http://svn.apache.org/viewvc?rev=578287&view=rev. Confirmed in a manual build. > std::pow(const std::complex&) undefined > --------------------------------------- > > Key: STDCXX-570 > URL: https://issues.apache.org/jira/browse/STDCXX-570 > Project: C++ Standard Library > Issue Type: Bug > Components: 26. Numerics > Affects Versions: trunk > Environment: EDG eccp 3.9/Solaris, Sun C++ > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Critical > Fix For: trunk > > > The example complex.cpp fails to compile with EDG eccp and link with Sun C++ > with the following error(s). > EDG eccp error: > eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -I$(TOPDIR)/include > -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -A -x > --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks > --diag_suppress 193,236,340,401,261,479,487,678,679,815 > $(TOPDIR)/examples/manual/complex.cpp > "$(TOPDIR)/include/complex", line 780: error #821: > extern inline function "std::pow(const std::complex<_TypeT> &, const > std::complex<_TypeT> &) [with _TypeT=double]" was referenced but not > defined > pow (const complex<_TypeT>&, const complex<_TypeT>&); > ^ > 1 error detected in the compilation of > "$(TOPDIR)/examples/manual/complex.cpp". > gmake: *** [complex.o] Error 2 > Sun C++ error: > CC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include > -I$(TOPDIR)/examples/include -library=%none -O -m64 +w -errtags > -erroff=hidef $(TOPDIR)/examples/manual/complex.cpp > "$(TOPDIR)/examples/manual/complex.cpp", Error, noinlbody: The function > std::pow<double>(const std::complex<double>&, const std::complex<double>&) > has not had a body defined. > 1 Error(s) detected. > gmake: *** [complex.o] Error 1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.