Opened 3 years ago

Last modified 2 years ago

#64620 assigned defect

gcc10 @10.3.0_1+universal fails to build on 10.13 — at Version 3

Reported by: JohnFHall (John Hall) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: gcc10

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build /opt/local/var/macports/build
/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/gcc10/work/build/x86_64-apple-darwin17/libstdc++-v3/include/bits/basic_string.h:48:11: fatal error: string_view: No such file or directory
:info:build    48 | # include <string_view>
:info:build       |           ^~~~~~~~~~~~~
:info:build compilation terminated.}}}

Change History (4)

Changed 3 years ago by JohnFHall (John Hall)

Attachment: main.log.gz added

logfile

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Port: gcc10 added
Summary: gcc 10 fails to build on 10.13gcc10 @10.3.0_1+universal fails to build on 10.13

comment:2 Changed 3 years ago by kencu (Ken)

that header should only be called for if you’re building with a c++17 capable compiler that has c++17 mode enabled.

https://github.com/gcc-mirror/gcc/blob/d25a93742020c2f1efa72d9908406bef6936ab38/libstdc%2B%2B-v3/include/bits/basic_string.h#L47

In which case, the header should be there.

Which part of this is broken?

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.