[Bug 289103] The C++ code fails in clang and succeeds in gcc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Aug 2025 16:54:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289103
--- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #1)
Sorry for swapping my libc++ vs. libstdc++ references.
It should have been:
libstdc++ : (<--- corrected)
# g++15 -pedantic -Wall -std=c++23 -stdlib=libstdc++ main.cpp
you have mail
main.cpp: In function 'int main()':
main.cpp:180:29: warning: unused variable 'v1' [-Wunused-variable]
180 | rack::simd::float_4 v1;
| ^~
vs. libc++ : (<--- corrected)
# g++15 -pedantic -Wall -std=c++23 -stdlib=libc++ main.cpp
In file included from /usr/include/c++/v1/__math/exponential_functions.h:17,
. . .
--
You are receiving this mail because:
You are the assignee for the bug.