Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2023 09:00:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNzMzMzldIEJ1aWxkIG9mIHNjaWVuY2UvdHJpbGlub3Mg?= =?UTF-8?B?ZmFpbHMgb24gMTQgQ1VSUkVOVDogaGlkZGVuIHN5bWJvbCBfWk5TdDNfXzFy?= =?UTF-8?B?c0I3djE2MDAwNkljTlNfMTFjaGFyX3RyYWl0c0ljRUVOU185YWxsb2NhdG9y?= =?UTF-8?B?SWNFRUVFUk5TXzEzYmFzaWNfaXN0cmVhbUlUX1QwX0VFUzlfUk5TXzEyYmFz?= =?UTF-8?B?aWNfc3RyaW5nSVM2X1M3X1QxX0VFIGlzbid0IGRlZmluZWQ=?=
Message-ID:  <bug-273339-29464-bAwoHBjp5D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273339-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273339-29464@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=3D273339

--- Comment #4 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #3)
FWIW, the problem here was that
packages/stk/stk_util/stk_util/util/ci_string.hpp declares a bunch of opera=
tors
on std::istream and std::ostream, and to be able to do that, it includes
<iosfwd>, which is a "light-weight" version of <iostream>, that only contai=
ns
forward declarations.

However, once you get to packages/stk/stk_util/stk_util/util/ci_string.cpp,=
 and
you want to _implement_ those operators on std::istream and std::ostream, y=
ou
actually need the full definitions of the iostream stuff. Hence, you heed to
include <iostream> there.

I noticed that meanwhile, upstream seems to have fixed this as a byproduct =
of a
huge commit named "STK: Snapshot 05-02-23 13:00 from Sierra
5.13.3-416-g059a4983". That adds separate includes of <ostream> and <istrea=
m>
instead, which is weird and superfluous, but should also work.

You might consider importing a more recent version of Trilinos, which should
have this fix already. If that is tricky to do, you can apply the temporary
patch I provided here.

--=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-273339-29464-bAwoHBjp5D>