Re: g++ version 7.5.0 and library <memory_resource>

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

 



On Sun, 7 Jun 2020 at 20:12, <hbusch@xxxxxxxxxxxxxx> wrote:
>
> Hi,
> I am using g++ version 7.5.0 on Linux Mint 19 Tara:
>
> g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
>
> When I try to compile a source file which uses the Standard library
> header <memory_resource> I get the following error:
>
> main.cpp:7:10: fatal error: memory_resource: No such file or directory
>
> As to my knowledge g++ version 7.5.0 supports C++17 and library
> <memory_resource> is included since C++17. At least, this page tells
> me that it has to be there:
>
> https://gcc.gnu.org/onlinedocs/gcc-7.5.0/libstdc++/api/a01004_source.html

No it doesn't, it tells you a different header is part of libstdc++ in
the 7.5.0 release.

As https://gcc.gnu.org/onlinedocs/gcc-7.5.0/libstdc++/manual/manual/status.html#status.iso.2017
says, the <memory_resource> header is not supported in 7.5.0.



[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