Boost C++ Libraries: Ticket #2383: [numeric] no matching function for call to operator new [](long unsigned int, udt*&) in libs/numeric/ublas/test/placement_new.cpp https://svn.boost.org/trac10/ticket/2383 <p> From <a class="ext-link" href="http://tinyurl.com/5x6hgd"><span class="icon">​</span>this log</a>: </p> <pre class="wiki"> "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -m64 -march=nocona -fPIC -nostdinc++ -DBOOST_ALL_NO_LIB=1 -DBOOST_UBLAS_NO_EXCEPTIONS -D_RWSTDDEBUG -I".." -I"/var/tmp/stdcxx/4.2.x/gcc/11D/include" -I"/var/tmp/stdcxx/4.2.x/include" -I"/var/tmp/stdcxx/4.2.x/include/ansi" -c -o "/var/tmp/boost/results/boost/bin.v2/libs/numeric/ublas/test/placement_new.test/gcc-4.3.0_stdcxx_422/debug/address-model-64/architecture-x86/instruction-set-nocona/stdlib-stdcxx-4.2.2/placement_new.o" "../libs/numeric/ublas/test/placement_new.cpp" ../libs/numeric/ublas/test/placement_new.cpp: In function ???int main()???: ../libs/numeric/ublas/test/placement_new.cpp:38: error: no matching function for call to ???operator new [](long unsigned int, udt*&amp;)??? &lt;built-in&gt;:0: note: candidates are: void* operator new [](long unsigned int) </pre><blockquote> <p> The proposed patch: </p> <pre class="wiki">Index: libs/numeric/ublas/test/placement_new.cpp =================================================================== --- libs/numeric/ublas/test/placement_new.cpp (revision 49128) +++ libs/numeric/ublas/test/placement_new.cpp (working copy) @@ -12,6 +12,7 @@ #include &lt;boost/numeric/ublas/storage.hpp&gt; #include &lt;iostream&gt; +#include &lt;new&gt; // User defined type to capture base pointer on construction </pre></blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2383 Trac 1.4.3 Douglas Gregor Fri, 03 Oct 2008 19:54:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2383#comment:1 https://svn.boost.org/trac10/ticket/2383#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/49129" title="Fix build of placement new test. From Farid Zaripov, fixes #2383">[49129]</a>) Fix build of placement new test. From Farid Zaripov, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2383" title="#2383: Bugs: [numeric] no matching function for call to operator new [](long ... (closed: fixed)">#2383</a> </p> Ticket