Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2019 04:07:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236192] mail/notmuch: fails to build with libc++ 8
Message-ID:  <bug-236192-7788-2qGdnSEi0Z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236192-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236192-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236192

--- Comment #1 from Jan Beich <jbeich@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
^

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236192-7788-2qGdnSEi0Z>