[Bug 236192] mail/notmuch: fails to build with libc++ 8
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 4 04:07:23 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236192
--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Looks like C++20 defines <version> while -I. (unlike -iquote.) ignores <...>
vs. "..." difference.
https://en.cppreference.com/w/cpp/header/version
$ cat version
garbage
$ cat a.cc
#include <string>
int main() {}
$ c++ -I. a.cc
In file included from a.cc:1:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/initializer_list:47:
In file included from /usr/include/c++/v1/cstddef:38:
./version:1:1: error: unknown type name 'garbage'
garbage
^
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list