public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* g++ version 7.5.0 and library <memory_resource>
@ 2020-06-07 19:10 hbusch
  2020-06-07 19:18 ` Marc Glisse
  2020-06-07 21:56 ` Jonathan Wakely
  0 siblings, 2 replies; 8+ messages in thread
From: hbusch @ 2020-06-07 19:10 UTC (permalink / raw)
  To: gcc-help

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

Even adding -std=gnu++17 throws the same error.

Can anybody please shed some light on this ?

Thanks
Regards
Harald







^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-08 14:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07 19:10 g++ version 7.5.0 and library <memory_resource> hbusch
2020-06-07 19:18 ` Marc Glisse
2020-06-08  4:42   ` hbusch
2020-06-08  7:46     ` Jonathan Wakely
2020-06-08 11:44       ` hbusch
2020-06-08 14:34         ` Jonathan Wakely
2020-06-07 21:56 ` Jonathan Wakely
2020-06-08  4:40   ` hbusch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).