: bin
X-Bugzilla-Version: 15.0-CURRENT
X-Bugzilla-Keywords:
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: thierry@FreeBSD.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution:
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: bugs@FreeBSD.org
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
Message-ID:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: Bug reports
List-Archive: https://lists.freebsd.org/archives/freebsd-bugs
List-Help:
List-Post:
List-Subscribe:
List-Unsubscribe:
Sender: owner-freebsd-bugs@FreeBSD.org
MIME-Version: 1.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278711
Bug ID: 278711
Summary: math/sprng: BROKEN with recent clang
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: thierry@FreeBSD.org
With recent clang on -CURRENT, SPRNG does not compile anymore:
c++ -DHAVE_CONFIG_H -I. -I.. -isystem /usr/local/include -I../include -I.=
-O2
-pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-alia=
sing
-isystem /usr/local/include -Wno-deprecated -DLONG64=3Dlong -MT
wolff_tmp-wolff.o -MD -MP -MF .deps/wolff_tmp-wolff.Tpo -c -o wolff_tmp-wol=
ff.o
`test -f 'wolff.cpp' || echo './'`wolff.cpp
wolff.cpp:76:2: error: reference to 'stack' is ambiguous
76 | stack[++Ipt]=3DnnJ;
| ^
wolff.cpp:17:27: note: candidate found by name lookup is 'stack'
17 | int lattice_size, *spin, *stack, nsites;
| ^
/usr/include/c++/v1/stack:156:28: note: candidate found by name lookup is
'std::stack'
156 | class _LIBCPP_TEMPLATE_VIS stack {
| ^
wolff.cpp:81:4: error: reference to 'stack' is ambiguous
81 | i=3Dstack[Ipt];
| ^
wolff.cpp:17:27: note: candidate found by name lookup is 'stack'
17 | int lattice_size, *spin, *stack, nsites;
| ^
/usr/include/c++/v1/stack:156:28: note: candidate found by name lookup is
'std::stack'
156 | class _LIBCPP_TEMPLATE_VIS stack {
| ^
wolff.cpp:219:3: error: reference to 'stack' is ambiguous
219 | stack =3D static_cast(malloc(nsites*sizeof(int)));
| ^
wolff.cpp:17:27: note: candidate found by name lookup is 'stack'
17 | int lattice_size, *spin, *stack, nsites;
| ^
/usr/include/c++/v1/stack:156:28: note: candidate found by name lookup is
'std::stack'
156 | class _LIBCPP_TEMPLATE_VIS stack {
| ^
wolff.cpp:220:16: error: reference to 'stack' is ambiguous
220 | if(!spin || !stack)
| ^
wolff.cpp:17:27: note: candidate found by name lookup is 'stack'
17 | int lattice_size, *spin, *stack, nsites;
| ^
/usr/include/c++/v1/stack:156:28: note: candidate found by name lookup is
'std::stack'
156 | class _LIBCPP_TEMPLATE_VIS stack {
| ^
4 errors generated.
Full log available at
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p3d9e1b95961=
0_sb07689d1f2a/logs/SPRNG-5.0_2.log
--=20
You are receiving this mail because:
You are the assignee for the bug.=