Date: Fri, 03 May 2024 10:54:45 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 278711] math/sprng: BROKEN with recent clang Message-ID: <bug-278711-29464-fdsRpAxIDN@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-278711-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-278711-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=3D278711 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #1 from Dimitry Andric <dim@FreeBSD.org> --- I would guess that the code in question has "using namespace std;" at the t= op? That is most likely the cause for this error: the local variable name 'stac= k' now conflicts with 'std::stack'. It would be more correct to remove the "using namespace std;" statement and= fix up the instances of std types used in the source, but an easier fix is to rename the local 'stack' variable to something else, for instance 'stack_' = or 'my_stack'. --=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-278711-29464-fdsRpAxIDN>