libstdc++-v3 failing to compile due to no matching function for call to ‘operator new(sizetype, sizetype)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While trying to compile gcj, it breaks on a number of errors, many of which
are along the lines of "no matching function for call to ‘operator
new(sizetype, sizetype)". However, I have not touched this code, and this
error does not appear on another branch which is a few months back from
master. This leads me to believe that this is an error present on master,
although I have not yet been able to locate the breaking commit. (Example
of one such error:)
In file included from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/locale_classes.h:857,
                 from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/ios_base.h:41,
                 from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/ios:42,
                 from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/istream:38,
                 from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/sstream:38,
                 from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/complex:45,
                 from
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/ccomplex:39,
                 from
/home/zopolis4/gcj/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc:
In constructor ‘std::locale::locale(const std::locale&, _Facet*)’:
/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc:47:46:
error: no matching function for call to ‘operator new(sizetype, sizetype)’
   47 |       _M_impl = new _Impl(*__other._M_impl, 1);
      |                                              ^




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux