[Bug 278711] math/sprng: BROKEN with recent clang

2024-05-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278711

Dimitry Andric  changed:

   What|Removed |Added

 CC||d...@freebsd.org

--- Comment #1 from Dimitry Andric  ---
I would guess that the code in question has "using namespace std;" at the top?
That is most likely the cause for this error: the local variable name 'stack'
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'.

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


[Bug 278711] math/sprng: BROKEN with recent clang

2024-05-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278711

Thierry Thomas  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|toolchain@FreeBSD.org

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